API Reference
Bulk retry/archive/delete/cancel. ASYNCHRONOUS by construction.
asynq has RunAllScheduledTasks/DeleteAllRetryTasks/ArchiveAllPendingTasks and this spec originally had no equivalent — retrying 100k jobs one HTTP call at a time is not an API. A synchronous unbounded write is unsafe, so a bulk request returns an operation to poll rather than blocking. Requires Idempotency-Key.
POST
Error
Headers
Required on every mutating request. A double-clicked Retry, or a proxy retrying a POST, must not enqueue the job twice. Keys are retained long enough to cover a client retry window and the response is replayed verbatim.
Body
application/json
Error