Work item

Claim a work item

Updated Dec 2, 2026

POST/work-items/{number}/claim

Claims 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

AuthorizationstringHeaderrequired
Bearer <token>

Authorization: Bearer YOUR_API_KEY. /v2 accepts no other method.

Parameters

Path

numberintegerrequired

Request body required

application/json
agentstringrequired

Who does the work: the agent's or the person's own name, for example Claude Code.

maxLength: 64
stageenum<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

statusstring
dataobject