Skip to main content
PUT
Update Workflow
All fields are optional — only include the fields you want to change. Updating workflow_definition creates a new versioned definition while preserving the history of previous versions.

Cabeçalhos

authorization
string | null
X-API-Key
string | null

Parâmetros de caminho

workflow_id
integer
obrigatório

Corpo

application/json
name
string | null
workflow_definition
Workflow Definition · object | null
template_context_variables
Template Context Variables · object | null
workflow_configurations
WorkflowConfigurationDefaults · object | null

Resposta

Successful Response

id
integer
obrigatório
name
string
obrigatório
status
string
obrigatório
created_at
string<date-time>
obrigatório
workflow_definition
Workflow Definition · object
obrigatório
current_definition_id
integer | null
obrigatório
template_context_variables
Template Context Variables · object | null
call_disposition_codes
CallDispositionCodes · object | null
total_runs
integer | null
workflow_configurations
Workflow Configurations · object | null
version_number
integer | null
version_status
string | null
workflow_uuid
string | null
agent_type
enum<string>
padrão:workflow
Opções disponíveis:
workflow,
prompt