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", } ] }
By providing a cursor you can paginate through all of the events.
A cursor which you can use in subsequent requests to paginate through all events. If no cursor is returned, you have reached the end of the events.
Hide child attributes
Timestamp of this log entry, in milliseconds
The associated message id
The current state of the message at this point in time.
CREATED
RETRY
ACTIVE
ERROR
DELIVERED
FAILED
An explanation what went wrong
The next scheduled time of the message. (Unix timestamp in milliseconds)
The destination url
The name of the topic if this message was sent through a topic
The name of the endpoint if this message was sent through a topic
Was this page helpful?