Claim Task
Claim a specific task by ID.
Pass expected_version as a query param for optimistic locking (CAS). If the task's version doesn't match, returns 409 Conflict.
Pass claimed_by_session to record which parent orchestrator session owns this claim.
post/tasks/{task_id}/claim
Path parameters
task_idstring required
Query parameters
expected_versioninteger nullable
claimed_by_sessionstring nullable
Response
Successful Response