List Failed Runs
Find every run that failed, across all workflows, in one call: when it ran, which step it stopped at (activeStepId) and the error (summary). Newest first. Narrow it to one workflow with workflowId, and to a time range with from and before; without them it covers all kept run history, about the last 30 days. It takes no field filters, where or sort. Page with limit and offset (offset up to 10,000) while meta.pagination.hasNextPage is true; totalCount is exact only on the last page. For the failed runs behind one day of List Workflow Activity, send from=2026-11-20&before=2026-11-21. When acting in another organization, Embedded runs are excluded.
Headers
Optional. The id of the organization to act in. Leave it out to act in the API key's own organization. A key can also act in its child organizations, and, with "Use this key across all of your organizations" on, in every organization its creator can open in the app. List them with GET /v2/companies. Every response's X-Company-Id header names the organization it acted in. See Organizations.
Query
Only runs of this workflow, from List Workflows.
Only runs that started at or after this time: YYYY-MM-DD (midnight UTC) or an ISO 8601 date-time with a zone.
Only runs that started before this time: YYYY-MM-DD (midnight UTC) or an ISO 8601 date-time with a zone.
Maximum number of rows to return.
Number of rows to skip.
Comma-separated response fields to include.
Response fields
idstringUnique id of the run. Use List Run Steps for every step it ran.
workflowIdstringThe workflow this run belongs to, from List Workflows.
workflowNamestringThe workflow's current name.
versionstringThe workflow version that ran, or "draft".
environmentIdstringThe environment the run targeted, from List Environments.
environmentNamestringThat environment's name.
startedOndateWhen the run started. The list is newest first.
finishedOndateWhen the run stopped.
durationMsnumberHow long the run took, in milliseconds.
operationsnumberHow many tasks the run used before it stopped.
activeStepIdstringThe step the run stopped at (a stepId). Inside a branch or loop, the step in it that failed. To see its input and response, find the entry with this stepId and success false in List Run Steps, then pass its stepInstanceId to Get a Run Step.
summarystringWhy the run stopped, in a sentence: the step name and the error it returned, for example: Workflow stopped after step "Search Tickets" failed: 429_TOO_MANY_REQUESTS.
endUserIdstringThe embedded end user the run belongs to, if any.
installationIdstringThe embedded installation the run belongs to, if any.