curl https://qstash.upstash.io/v2/events \
-H "Authorization: Bearer <token>"
{
"cursor": "1686652644442-12",
"events":[
{
"time": "1686652644442",
"messageId": "msg_123",
"state": "delivered",
"url": "https://example.com",
}
]
}
List all events that happened, such as message creation or delivery
curl https://qstash.upstash.io/v2/events \
-H "Authorization: Bearer <token>"
{
"cursor": "1686652644442-12",
"events":[
{
"time": "1686652644442",
"messageId": "msg_123",
"state": "delivered",
"url": "https://example.com",
}
]
}
Hide child attributes
Value | Description |
---|---|
CREATED | The message has been accepted and stored in QStash |
RETRY | The task has been scheduled to retry. |
ACTIVE | The task is currently being processed by a worker. |
ERROR | The execution threw an error and the task is waiting to be retried or failed. |
DELIVERED | The message was successfully delivered. |
FAILED | The task has errored too many times or encountered an error that it cannot recover from. |
curl https://qstash.upstash.io/v2/events \
-H "Authorization: Bearer <token>"
{
"cursor": "1686652644442-12",
"events":[
{
"time": "1686652644442",
"messageId": "msg_123",
"state": "delivered",
"url": "https://example.com",
}
]
}
Was this page helpful?