Pular para o conteúdo principal
GET
Get an execution of a flow

Autorizações

api_access_token
string
header
obrigatório

Token de acesso do usuário (Perfil → Token de acesso). Dá acesso conforme o papel do usuário e age em nome dele.

Parâmetros de caminho

account_id
string
obrigatório

The numeric ID of the account

flow_id
integer
obrigatório

Flow identifier.

id
integer
obrigatório

Execution identifier.

Parâmetros de consulta

detail
enum<string>
padrão:full

How much of the run to answer, smallest first. summary: the run and its diagnosis (failed_steps, skipped_steps, stopped_reason, caller_execution_id, called_executions), without steps. errors: plus steps with only the failed and skipped steps, with their input and output. steps: plus every step. full (the default): plus run_data and definition_snapshot. Every value but full adds detail to the answer. Any other value answers 422.

Opções disponíveis:
summary,
errors,
steps,
full

Resposta

Execution details; with detail other than full, the smaller answer.

id
integer
obrigatório

Execution identifier.

Exemplo:

905

flow_id
integer
obrigatório
Exemplo:

12

event_name
string
obrigatório

Event that started the run: the start's event (conversation_created, conversation_updated, message_created, message_sent, social_comment_received, kanban_item_updated, or the legacy conversation_opened and conversation_resolved), schedule for a run of a schedule start, or flow_called for a run another flow's run_flow block started.

Exemplo:

"message_created"

status
enum<string>
obrigatório

Run status. waiting means the flow is paused waiting for a reply or a timer. An error run without steps was never started (a start dropped by one run per contact, a scheduled slot that did not run): its error_message says why and the detail's stopped_reason gives the code.

Opções disponíveis:
running,
success,
error,
waiting
Exemplo:

"success"

steps_count
integer
obrigatório

Number of blocks the run went through.

Exemplo:

2

stopped_reason
string | null
obrigatório

Why the run stopped before its graph did, from run_data.stopped_reason. A run that was never started is an error run without steps: run_lock_busy (a start of a one-run-per-contact flow still blocked after about one minute), slot_missed (no scheduler tick ran within 2 minutes of the slot), run_in_progress (a scheduled run of the flow was still going) or enqueue_failed (the scheduled run could not be queued). Slots missed together are one run per reason, for the latest slot, with run_data.context.missed_slots (how many) and first_missed_slot. window_closed means a message was outside the reply window; expired, flow_paused, flow_unavailable or superseded say why a waiting run was closed.

Exemplo:

"run_lock_busy"

caller_execution_id
integer | null
obrigatório

The run whose "Ejecutar flujo" (run_flow) block started this one, from run_data.context.caller_execution_id.

Exemplo:

870

failed_steps
object[]
obrigatório

The steps that failed (status error), without their input and output.

skipped_steps
object[]
obrigatório

The steps that were skipped (status skipped) with their reason, without their input and output.

called_executions
object[]
obrigatório

The runs this run's run_flow blocks started (up to 25). A run_flow step with output outcome queued only queued its call: the called run starts later in its own job and its status is here, matched by call_id.

run_data
object
obrigatório

Full run log, including context, execution_mode (production or test), definition_snapshot, stopped_reason, vars and steps. vars holds what blocks with a result_name kept, by name ({{ vars.<name>.<key> }}); a test run keeps the same keys with sample or empty values. Once the run is not waiting, a result body over 16 KB is stored short (its first 50 top keys, each value cut to a 200-character preview), with body_truncated set to true and body_bytes holding the full size. A waiting run keeps it whole, since it resumes with it. A body redacted by redact_response drops both fields.

Exemplo:
definition_snapshot
object
obrigatório

Flow graph edited in the Flow Builder canvas. nodes holds the blocks (exactly one trigger node is required to publish), edges connects the output handle of one block to another block, and metadata carries the schema version. A flow may hold up to 100 nodes. Each block type reads its own keys from data.

Exemplo:
steps
object[]
obrigatório
flow_version_id
integer | null

Published version that ran. Null for test runs of a draft.

Exemplo:

31

conversation_id
integer | null

Null on a scheduled run, which has no conversation.

Exemplo:

4821

message_id
integer | null

Null on a scheduled run and on runs no message started.

Exemplo:

99120

started_at
string<date-time> | null
Exemplo:

"2026-10-27T14:10:02Z"

finished_at
string<date-time> | null
Exemplo:

"2026-10-27T14:10:03Z"

duration_ms
integer | null
Exemplo:

812

error_message
string | null
Exemplo:

null

created_at
string<date-time>
Exemplo:

"2026-10-27T14:10:02Z"

updated_at
string<date-time>
Exemplo:

"2026-10-27T14:10:03Z"