agent-copilot

Copilot Chat

Enqueue one copilot turn as a durable Celery task and return immediately. The client attaches to GET /chat/events?turn_id=... to watch stage updates, tool results, and the final reply arrive live. Running the turn outside this request means neither a slow Anthropic response nor a mid-turn API deploy can strand the founder with "Build with copilot" silently frozen (see almanac/architecture/agents/agent-copilot.md). The only write the loop can perform is create_agent, which is server-side forced to enabled=false with a non-sending delivery mode.

post/api/v1/agents/copilot/chat

Headers

authorizationstring nullable

Bearer <token>

Bearer <token>

Request body

turn_idstring nullable
agent_idstring uuid nullable

Response

Successful Response

dataobject required

Changes

Changed in 1 of the 2 revisions of this API.2

    • the response's property default value changed from {"request_id":"","timestamp":"2026-09-01T18:59:27.102736"} to {"request_id":"","timestamp":"2026-09-02T16:58:28.431377"} for the status

      response-property-default-value-changed

    • the response's property default value changed from 2026-09-01T18:59:27.102736 to 2026-09-02T16:58:28.431377 for the status

      response-property-default-value-changed