---
title: "Copilot Chat"
method: POST
path: "/api/v1/agents/copilot/chat"
tags: ["agent-copilot"]
---

# Copilot Chat

`POST /api/v1/agents/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.

## Headers

- `authorization` string, nullable — Bearer <token>

## Request body

- CopilotTurnRequest
  - `messages` CopilotMessage[], required
    - `role` string, required
    - `content` string, required
  - `turn_id` string, nullable
  - `agent_id` string, uuid, nullable

## Response `200`

Successful Response

- EnvelopeDict
  - `data` object, required
  - `meta` Meta
    - `request_id` string
    - `timestamp` string, date-time
    - `total` integer, nullable
    - `truncated` boolean, nullable

## Other responses

- `422` — Validation Error

## Changes

- **2026-09-03** `dd130eae1c32` — 2 info
  - the `meta` response's property default value changed from `{"request_id":"","timestamp":"2026-09-03T04:12:49.531787"}` to `{"request_id":"","timestamp":"2026-09-03T19:42:04.697120"}` for the status `200`
  - the `timestamp` response's property default value changed from `2026-09-03T04:12:49.531787` to `2026-09-03T19:42:04.697120` for the status `200`
- **2026-09-03** `1ced22f7f72c` — 2 info
  - the `meta` response's property default value changed from `{"request_id":"","timestamp":"2026-09-02T16:58:28.431377"}` to `{"request_id":"","timestamp":"2026-09-03T04:12:49.531787"}` for the status `200`
  - the `timestamp` response's property default value changed from `2026-09-02T16:58:28.431377` to `2026-09-03T04:12:49.531787` for the status `200`
- **2026-09-02** `6bd3ca9033ae` — 2 info
  - the `meta` 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 `200`
  - the `timestamp` response's property default value changed from `2026-09-01T18:59:27.102736` to `2026-09-02T16:58:28.431377` for the status `200`

[Change history](https://skmtc.dev/minro/apis/minro-cs-platform/changes/api/v1/agents/copilot/chat/post.md)

---

[API](https://skmtc.dev/minro/apis/minro-cs-platform.md) · [All operations](https://skmtc.dev/minro/apis/minro-cs-platform/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/minro/minro-cs-platform/revisions/1ced22f7f72c/schema)
