List Logs
Changed onPaginate through logs of published messages
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
By providing a cursor you can paginate through all of the logs
Filter logs by message ID
Filter logs by message state
| Value | Description |
|---|---|
| CREATED | The message has been accepted and stored in QStash |
| ACTIVE | The task is currently being processed by a worker. |
| RETRY | The task has been scheduled to retry. |
| ERROR | The execution threw an error and the task is waiting to be retried or failed. |
| IN_PROGRESS | The task is in one of ACTIVE, RETRY or ERROR state. |
| DELIVERED | The message was successfully delivered. |
| FAILED | The task has errored too many times or encountered an error that it cannot recover from. |
| CANCEL_REQUESTED | The cancel request from the user is recorded. |
| CANCELLED | The cancel request from the user is honored. |
Filter logs by destination URL
Filter logs by URL Group name
Filter logs by schedule ID
Filter logs by queue name
Filter logs by starting date, in milliseconds (Unix timestamp). This is inclusive.
Filter logs by ending date, in milliseconds (Unix timestamp). This is inclusive.
The number of log entries to return.
Filter logs by label. Supports multi-value filtering. You can pass multiple values to match messages with any of the given labels (OR logic).
Examples:
- label=my_label
- label=label_1&label=label_2
Response
List of logs
Changes
- info
for the
queryrequest parameterlabel, the type was generalized fromstringtoarray - info
added the optional property
//to the response with the status - info
response property
logs/items/labeldeprecated
- info
- warning
removed the optional property
//from the response with the status - info
for the
queryrequest parameterlabel, the type was generalized fromarraytostring - info
response property
logs/items/labelreactivated
- warning