---
title: "Chat Message Stream"
method: POST
path: "/chat/message/stream"
tags: ["chat"]
---

# Chat Message Stream

`POST /chat/message/stream`

## Request body

- ChatRequest
  - `character_id` string, uuid, required
  - `message` string, required
  - `history` ChatMessage[], nullable
    - `role` string, required
    - `content` string, required
  - `session_id` string, uuid, nullable
  - `persist` boolean
  - `user_persona_id` string, uuid, nullable
  - `is_arena` boolean
  - `model` string, nullable
  - `temperature` number, nullable
  - `max_tokens` integer, nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `404` — Not found
- `422` — Validation Error

---

[API](https://skmtc.net/meganova/apis/fastapi.md) · [All operations](https://skmtc.net/meganova/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/meganova/fastapi/revisions/2b2bab8b9017/schema)
