List Failed Workflow Runs
Changed onList and paginate through all failed workflow runs currently in the DLQ.
Failed workflows end up in the DLQ after exhausting all retry attempts. You can filter, paginate, and inspect these failures to understand what went wrong and decide whether to resume, restart, or delete them.
Request
- Base URLhttps://qstash-eu-central-1.upstash.io
- Auth
- HTTP bearer
- or API key in query parameter qstash_token
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Query parameters
Pagination cursor. If provided, returns the next page of results.
The maximum number of failed workflow runs to return per page.
Filter by starting date in milliseconds (Unix timestamp). This is inclusive.
Filter by ending date in milliseconds (Unix timestamp). This is inclusive.
Filter by workflow URL. Supports multiple values.
Filter by workflow run ID.
Filter by workflow creation timestamp in milliseconds (Unix timestamp).
Filter by label assigned to the workflow run. Supports multiple values. You can pass multiple values to match workflow runs with any of the given labels (OR logic).
Examples:
- label=my_label
- label=label_1&label=label_2
- label=label_1,label_2
Filter by failure function state. Supports multiple values.
| State | Description |
|---|---|
| CALLBACK_INPROGRESS | The failure function is in progress. |
| CALLBACK_SUCCESS | The failure function run successfully. |
| CALLBACK_FAIL | The failure function failed to run. |
| CALLBACK_CANCELED | The failure function was manually canceled |
Filter by IP address of the publisher. Supports multiple values.
Filter by Flow Control Key. Supports multiple values.
Response
List of failed workflow runs
Changes
- info
for the
queryrequest parametercallerIp, the type was generalized fromstringtoarray - info
for the
queryrequest parameterfailureFunctionState, the type was generalized fromstringtoarray - info
for the
queryrequest parameterflowControlKey, the type was generalized fromstringtoarray - info
for the
queryrequest parameterworkflowUrl, the type was generalized fromstringtoarray
- info
- info
for the
queryrequest parameterlabel, the type was generalized fromstringtoarray - info
added the optional property
//to the response with the status - info
response property
messages/items/labeldeprecated
- info