Skip to main content
Human attention pauses one agent execution at needs_human and records the information a human needs to act. The request and execution transition are atomic. Generic execution transitions cannot enter or leave needs_human.

Endpoints

Create requests require an execution ID, expected execution state version, kind, bounded text fields, one exact target, and an idempotency key. Targets are a member, team, or project administrators. Resolve, cancel, and retarget requests include both expected versions. Reuse of an idempotency key with the same input returns the original result; a different input returns 409.

Lifecycle

The create operation moves the execution to needs_human and creates one open attention item. Resolve and cancel close the item and move the execution to waiting. Approval and destructive-action items accept approved or rejected; access items accept provided or denied; clarification, decision, and other items require an answered outcome with a summary. mode=recovery lists open items whose original target is no longer eligible and is available only to authorized human administrators. Stale versions, invalid lifecycle edges, and ineligible targets return stable 409 errors. Request text is bounded and rejects secret-like content. Public responses contain current and immutable actor/target snapshots, execution state, issue, and project context. They omit provenance, hashes, prompts, logs, credentials, and local paths. See the endpoint reference and field reference for the complete REST contract.