v1

latestOpenAPI 3.1.02026-07-172539330.6 KB
Tasks

Poll next task for an agent

get/api/tasks/queue

Query parameters

agentstring

Agent name. Optional when x-agent-name header is provided.

max_capacityinteger

Headers

x-agent-namestring

Agent attribution header used when agent query param is omitted.

Response

Queue poll result

reason'continue_current' | 'assigned' | 'at_capacity' | 'no_tasks_available'
agentstring
timestampinteger