Docs

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.

GET

Headers

Optional headers
string

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

Arguments
string

Only runs of this workflow, from List Workflows.

string

Only runs that started at or after this time: YYYY-MM-DD (midnight UTC) or an ISO 8601 date-time with a zone.

string

Only runs that started before this time: YYYY-MM-DD (midnight UTC) or an ISO 8601 date-time with a zone.

PaginationRequest a specific window of rows with limit and offset. Learn more
number

Maximum number of rows to return.

number

Number of rows to skip.

Field selectionChoose which fields should be included in the response. Learn more
string

Comma-separated response fields to include.

Response fields

idstring

Unique id of the run. Use List Run Steps for every step it ran.

workflowIdstring

The workflow this run belongs to, from List Workflows.

workflowNamestring

The workflow's current name.

versionstring

The workflow version that ran, or "draft".

environmentIdstring

The environment the run targeted, from List Environments.

environmentNamestring

That environment's name.

startedOndate

When the run started. The list is newest first.

finishedOndate

When the run stopped.

durationMsnumber

How long the run took, in milliseconds.

operationsnumber

How many tasks the run used before it stopped.

activeStepIdstring

The 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.

summarystring

Why 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.

endUserIdstring

The embedded end user the run belongs to, if any.

installationIdstring

The embedded installation the run belongs to, if any.