Claim a work item
Updated Dec 2, 2026
POST
/work-items/{number}/claimClaims the work item's current stage for an agent or a person, which starts a run and moves the work item to in_progress. Keep the run_id: reports about the run must send it.
A work item can be claimed while it is ready, or while it is in_progress and its run has been silent for 24 hours (the silent run is then abandoned). Otherwise the answer is 409: already_claimed naming who holds it, or invalid_transition naming what is allowed now.
Authorization
AuthorizationstringHeaderrequiredBearer <token>Authorization: Bearer YOUR_API_KEY. /v2 accepts no other method.
Parameters
Path
numberintegerrequiredRequest body required
application/jsonagentstringrequiredWho does the work: the agent's or the person's own name, for example Claude Code.
maxLength: 64stageenum<string>The stage you mean to work on. If it is not the work item's stage, the claim is refused.
Allowed values
"spec""plan""build"Responses
Claimed
statusstringdataobject