Skip to main content
post/v2/dlq/bulkRetry
Request example
Response
post/v2/dlq/bulkRetry

Each retry creates a new message with the original body and headers, then removes the original DLQ entry.

The request returns after creating the action. Use its actionId with Get a Bulk Action to check progress.

Identical filters submitted while an action is already in-progress return the existing action.

Authorization

Authorizationstringheaderrequired#
QStash authentication token

1 alternative authorization method available — see the spec for details.

Query parameters

messageIdstring#
Filter by message ID.
urlstring[]#
Filter by destination URL. Supports multiple values.
topicNamestring[]#
Filter by URL Group name. Supports multiple values.
scheduleIdstring[]#
Filter by schedule ID. Supports multiple values.
queueNamestring[]#
Filter by queue name. Supports multiple values.
responseStatusinteger[]#
Filter by the last delivery attempt's HTTP response status. Supports multiple values.
fromDateinteger#
Inclusive start of the DLQ date range, in Unix milliseconds.
toDateinteger#
Inclusive end of the DLQ date range, in Unix milliseconds.
callerIpstring[]#
Filter by publisher IP address. Supports multiple values.
labelstring[]#
Filter by message label. Supports multiple values.
flowControlKeystring[]#
Filter by flow control key. Supports multiple values.

Headers

Upstash-Methodenum<string>#
Override the HTTP method used to deliver each retried message.
Options:GETPOSTPUTPATCHDELETE
Upstash-Timeoutstring#
Override the delivery timeout for each retried message, such as 30s or 2m.
Upstash-Retriesinteger#
Override the number of delivery retries for each retried message. Use 0 to disable retries.
Upstash-Retry-Delaystring#
Override the retry delay expression for each retried message.
Upstash-Delaystring#
Delay each retried message's delivery. Format is <value><unit>, such as 10s or 5m.
Upstash-Not-Beforeinteger#
Delay delivery until this Unix timestamp in seconds. Takes precedence over Upstash-Delay.
Upstash-Labelstring#
Override the labels on each retried message. Use a comma-separated list for multiple labels.
Upstash-Flow-Control-Keystring#
Override the flow control key for each retried message. Set Upstash-Flow-Control-Value to define its limits.
Upstash-Flow-Control-Valuestring#
Override the flow control limits in the format parallelism=<value>, rate=<value>, period=<value>.
Upstash-Callbackstring#
Override the success or failure callback URL for each retried message.
Upstash-Failure-Callbackstring#
Override the failure callback URL for each retried message.

Responses

application/json
The background action was created or an identical in-progress action was returned.
actionIdstringrequired#
ID used to check the background action's progress.
totalintegerrequired#
Number of DLQ messages matching the filters when the action was created.