GET
Get Workflow
Возвращает полные данные агента, включая workflow_definition (узлы и рёбра), template_context_variables, workflow_configurations и статистику по запускам.

Headers

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

Path Parameters

workflow_id
integer
required

Response

Successful Response

id
integer
required
name
string
required
status
string
required
created_at
string<date-time>
required
workflow_definition
Workflow Definition · object
required
current_definition_id
integer | null
required
template_context_variables
Template Context Variables · object | null
call_disposition_codes
CallDispositionCodes · object | null
target_actions
TargetActionsConfig · object | null

The stored layer: {"actions": []} means explicitly off; the model itself is absent (NULL column) when the level inherits.

total_runs
integer | null
workflow_configurations
Workflow Configurations · object | null
version_number
integer | null
version_status
string | null
workflow_uuid
string | null
model_is_realtime
boolean | null

Whether the effective model of the returned workflow_configurations (draft if any, else published) is realtime — the runtime's resolution: the workflow's model_configuration_v2_override, else the organization's configuration with legacy model_overrides. A realtime model does not support conversation_start_policy wait_client / wait_then_greeting (saving that combination is 422 start_policy_unsupported_for_realtime). null: not computed by this endpoint, or the model configuration does not resolve.