GET /api/workflows/{workflow_id}/runs returns the execution history for a single Workflow: status, outputs, credits charged, and per-step results for each run. Results are capped at the 50 most recent runs, ordered by created_at descending.
Endpoint
Authentication
This endpoint requires a session token:Path Parameters
string
required
The UUID of the Workflow whose run history you want to retrieve.
Example Request
Response
Returns a flat JSON array of up to 50WorkflowRun objects, most recent first.
WorkflowRun Object
string
Unique identifier for this run (plain UUID).
string
UUID of the Workflow that was executed.
string
completed, failed, or waiting_for_human.object | null
The inputs passed into the first step of this run.
any | null
Output from the final step.
null if the run failed.string | null
Error message if the run failed, otherwise
null.float
Credits consumed across all steps in this run.
integer | null
Total wall-clock time in milliseconds.
string | null
ISO 8601 UTC timestamp of when execution began.
string | null
ISO 8601 UTC timestamp of when the run finished.
string
ISO 8601 UTC timestamp of when the run record was created.
array
Ordered step result objects. See the step result fields on POST /workflows/run for the full field list.