Skip to main content
GET
Get Execution

Authorizations

x-api-key
string
header
required

Path Parameters

execution_id
string
required

Response

Successful Response

Complete flow execution record.

flow_id
string
required

ID of the executed flow

agent_id
string
required

ID of the agent that owns the flow

organization_id
string
required

Organization ID

execution_number
integer
required

Sequential execution number for this flow

trigger_type
enum<string>
required

How the execution was triggered

Available options:
manual,
event,
scheduled,
api,
webhook,
test
priority
enum<string>
required

Execution priority

Available options:
low,
normal,
high,
urgent
status
enum<string>
required

Current execution status

Available options:
pending,
queued,
running,
completed,
failed,
cancelled,
timeout,
retrying
started_at
string<date-time>
required

When execution started

id
string

Unique execution ID

trigger_data
Trigger Data · object

Original trigger data

variables
Variables · object

Execution variables

completed_at
string<date-time> | null

When execution completed

duration_ms
integer | null

Total execution duration in milliseconds

timeout_seconds
integer
default:300

Execution timeout

steps
FlowExecutionStep · object[]

Execution steps

final_output
Final Output · object

Final execution output

error_message
string | null

Error message if execution failed

error_details
Error Details · object

Detailed error information

retry_count
integer
default:0

Number of retries attempted

max_retries
integer
default:3

Maximum number of retries

parent_execution_id
string | null

Parent execution if this is a retry

tokens_used
integer | null

Total tokens used in LLM calls

tool_calls_count
integer
default:0

Number of tool calls made

cost_estimate
number | null

Estimated cost in USD

performance_metrics
Performance Metrics · object

Performance metrics

metadata
Metadata · object

Additional execution metadata

created_at
string<date-time>

When record was created

updated_at
string<date-time>

When record was last updated