← All primitives

Priority Queue

selected P1 /v1/priority-queues

Why it matters: Lets urgent agent work preempt ordinary work while retaining predictable ordering for equal priority.

Durable leased queue ordered by priority and then FIFO sequence within each priority lane.

API endpoints

MethodPathDescription
POST/v1/priority-queuesCreate a priority queue
POST/v1/priority-queues/:id/messagesSend a prioritized message
POST/v1/priority-queues/:id/claimLease the highest-priority available messages
POST/v1/priority-queues/:id/messages/:messageId/ackAcknowledge a message