Next Task
Claim the next available task for role.
Pass claimed_by_session as a query param to record which parent orchestrator session owns the claim.
Pass parent_session_id to restrict claiming to tasks that were created under that coordinator session. Workers belonging to a coordinator should always pass their coordinator's session ID here to avoid stealing tasks from other namespaces.
get/tasks/next/{role}
Request
- Base URL: http://127.0.0.1:8052
- URL: http://127.0.0.1:8052/tasks/next/{role}
- Auth: none declared
Path parameters
rolestring required
Query parameters
claimed_by_sessionstring nullable
parent_session_idstring nullable
Response
Successful Response
Changes
No recorded changes to this operation across all 1 revision of this API.