Skip to main content
PATCH
Reorder editable pending user turns

Headers

x-user-id
string
required

Caller's user ID. Temporary header-based identity; will be replaced by JWT auth.

Body

application/json

Set the complete pending queue order.

agent_id
string
required

Agent that owns the target session.

session_id
string
required

Session whose pending FIFO will be reordered.

item_ids
string[]
required

Exact desired permutation of all pending item ids.

Response

Successful Response

Current editable FIFO snapshot for a session.

items
ChatQueueItem · object[]
required

Editable pending turns in FIFO execution order.