Skip to main content

Consume AI Instruction

POST 

/api/support/agent/ai/instructions/:instruction/consume

The AI agent takes an instruction: stamps consumed_at. Exactly once — a second consume is refused with a 409 (error: already_consumed) carrying the instruction as it is now, so a runner that crashes and retries never acts on the same instruction twice.

Required scope: support:write

Grant this scope to your token under Settings → Developer → Personal Access Tokens.

Path parameters

  • instruction (integer) — the instruction id from Get AI Control Feed.

No request body. The response is the consumed instruction (fields as in Send Instruction to AI Agent).

Authentication: Bearer token with the support:write scope belonging to the AI agent's own account — any other caller, including support admins, gets a 403. No tenant context — this endpoint is central.

Request​

Responses​

OK

Response Headers
    Content-Type