---
title: "Send Message Stream"
method: POST
path: "/api/v1/chat/threads/{thread_id}/messages/stream"
tags: ["chat"]
---

# Send Message Stream

`POST /api/v1/chat/threads/{thread_id}/messages/stream`

Persist-first: save the user message + a streaming assistant placeholder, kick off a
detached generator, and return the ids. The client then attaches to the events endpoint
to stream the answer. Generation is decoupled from this request, so a refresh resumes it.

## Path parameters

- `thread_id` string, uuid, required

## Headers

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

## Request body

- ChatMessageCreate
  - `content` string, required

## 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

---

[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/eb854265cf29/schema)
