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
kind
string
required
payload
string
required
schema_version
integer
default:1
queue
string
default:default
priority
integer
partition_key
string
rate_class
string
weight
integer
default:1

Estimated rate-budget cost; unrelated to queue-selection weight.

Required range: x >= 1
scheduled_at_ms
integer
unique_key
string
unique_window_ms
integer
Required range: x >= 0
unique_debounce_ms
integer

Trailing-edge coalescing window measured from store time; replaces payload and tags on conflict.

Required range: x >= 0
unique_exclude_kind
boolean
default:false

Use a fleet-global uniqueness namespace instead of the default kind-scoped namespace.

tags
string[]
Maximum array length: 32
Required string length: 1 - 64
pending
boolean
default:false

Insert durably but keep ineligible until operator promotion.

sticky_worker
string

Exact stable worker identity allowed to claim the job; empty means any worker.

Maximum string length: 255
unique_replace
integer

Bitmask allowlist for replacing an existing non-running unique holder — payload bundle=1, scheduled_at_ms=2, priority=4, max_attempts=8.

Required range: 0 <= x <= 15

Response

Enqueued