List Logs
Paginate through logs of published messages
Request
By providing a cursor you can paginate through all of the logs.
Filter logs by message id.
Filter logs by 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 url.
Filter logs by URL Group (topic) 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 logs to return. Default and max is 1000.
The sorting order of logs by timestamp. Valid values are “earliestFirst” and “latestFirst”. The default is “latestFirst”.
Response
A cursor which you can use in subsequent requests to paginate through all logs. If no cursor is returned, you have reached the end of the logs.
Was this page helpful?