Runs
Runs are executions of agents. The typical workflow: discover an agent, inspect its required inputs, upload any necessary assets, create a run with matching inputs, poll its status, and retrieve generated outputs once complete. App executions live under App Runs.
Execution status of a workflow run.
Maximum number of items to return
20Cursor for pagination (from next_cursor)
Active organization ID for multi-org support
Successful Response
Validation Error
{
"id": "text_input_node_id",
"value": "Your text content here"
}Active organization ID for multi-org support
Request to create and start a new agent execution run.
ID of the agent to execute
Optional client-supplied reference id (e.g. your order or job id, max 255 chars). Unique per organization: reusing one returns 409 conflict — so a dropped-response retry never creates a duplicate. Echoed on every run and filterable via GET /runs?external_id= to fetch it. Use a new id per run.
Successful Response
Complete representation of an agent execution run.
Unique run identifier
ID of the agent being executed
Client-supplied reference id provided at creation, if any
Current execution state: in_progress, completed, failed, or canceled
Completion progress from 0.0 to 1.0
0Type of the node currently executing (e.g. image_generation, llm). Only present while status is in_progress
True when the run has paused on one or more human review nodes and is waiting for a decision via POST /runs/{run_id}/reviews/{review_id}. While true, status remains in_progress.
falseWhen the run was created
When execution started
When execution finished
Total credits consumed by this run
Error message if the run failed
Categorized failure reason (timeout, content_policy, insufficient_credits, invalid_input, provider_error, provider_auth_required, canceled, unknown). Present when status is failed.
Validation Error
Active organization ID for multi-org support
Successful Response
Complete representation of an agent execution run.
Unique run identifier
ID of the agent being executed
Client-supplied reference id provided at creation, if any
Current execution state: in_progress, completed, failed, or canceled
Completion progress from 0.0 to 1.0
0Type of the node currently executing (e.g. image_generation, llm). Only present while status is in_progress
True when the run has paused on one or more human review nodes and is waiting for a decision via POST /runs/{run_id}/reviews/{review_id}. While true, status remains in_progress.
falseWhen the run was created
When execution started
When execution finished
Total credits consumed by this run
Error message if the run failed
Categorized failure reason (timeout, content_policy, insufficient_credits, invalid_input, provider_error, provider_auth_required, canceled, unknown). Present when status is failed.
Validation Error
{
"decision": "approve",
"output": {
"asset_ids": [
"asset-uuid-001",
"asset-uuid-002"
]
}
}Active organization ID for multi-org support
Request to resolve a pending human review.
approve resumes execution using the (optionally edited) output. retry re-runs the upstream node(s) to produce a new candidate output.
Output to use when continuing execution. Required when decision is approve. Ignored when decision is retry. Must match the shape of proposed_output ({"asset_ids": [...]} for image/video/audio reviews, or {"prompts": [...]} for text-prompt reviews). To discard items, submit only the ones you want to keep; the rest are dropped. At least one item is required — an empty output is rejected.
Successful Response
No content
Validation Error
No content
Last updated

