Claim Agent Task
talonic_claim_agent_taskClaim an available Agent-stage task or reclaim it after lease expiry to begin processing, returning execution epoch, lease expiration, and the task payload.
Instructions
Claim an available Agent-stage task, or reclaim it after its lease expires.
USE WHEN: ready to process a task. Save the returned execution_epoch and lease_expires_at. NOT FOR: merely inspecting work (use talonic_get_agent_task) or extending an active lease (use talonic_heartbeat_agent_task). A conflicting live claim returns HTTP 409. A successful claim returns the task payload: input_snapshot, instructions, and output_contract, whose entries carry each field's Spec rules (description) and allowed codes (enumValues). Review the documents against those rules.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| task_id | Yes | Agent task UUID. |