GET
/
v2
/
events

Request

cursor
string

By providing a cursor you can paginate through all of the events.

Response

cursor
string

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.

events
Array
time
int
required

Timestamp of this log entry, in milliseconds

messageId
string
required

The associated message id

state
string
required

The current state of the message at this point in time.

ValueDescription
CREATEDThe message has been accepted and stored in QStash
RETRYThe task has been scheduled to retry.
ACTIVEThe task is currently being processed by a worker.
ERRORThe execution threw an error and the task is waiting to be retried or failed.
DELIVEREDThe message was successfully delivered.
FAILEDThe task has errored too many times or encountered an error that it cannot recover from.
error
string

An explanation what went wrong

nextDeliveryTime
int

The next scheduled time of the message. (Unix timestamp in milliseconds)

url
string

The destination url

topicName
string

The name of the topic if this message was sent through a topic

endpointName
int

The name of the endpoint if this message was sent through a topic