Skip to main content
POST
Error

Headers

Idempotency-Key
string
required

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
action
enum<string>
required
Available options:
retry,
archive,
delete,
cancel
selector
object
required

Same filters as GET /jobs. An empty selector is rejected — no accidental delete-everything.

dry_run
boolean
default:false

Return the count that WOULD be affected.

Response

Bulk operation accepted.

id
string
required
status
enum<string>
required
Available options:
pending,
running,
completed,
failed
affected
integer
required
total_estimated
integer
dry_run
boolean
error
string | null