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

# Chat Stream

`POST /api/chat/stream`

## Request

- Base URL: `https://api.taxcompass.it` (the document declares no server; this is the origin it was published from)
- URL: `https://api.taxcompass.it/api/chat/stream`
- Auth: HTTP bearer

SSE endpoint for streaming phase events during chat.

## Request body

- ChatRequest
  - `messages` ChatMessage[], required
    - `role` 'user' | 'assistant', required
    - `content` string, required
  - `locale` 'en' | 'pl' | 'it' | 'de' | 'fr' | 'es'
  - `audience` 'standard' | 'commercialista'
  - `plan_inputs` object, nullable
  - `open_clarifications` object[], nullable
  - `conversation_id` string, nullable
  - `autopilot_context` boolean
  - `autopilot_view` 'dashboard' | 'invoices' | 'clients' | 'incassi' | 'bank' | 'f24' | 'redditi' | 'assistant' | 'onboarding', nullable

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/taxcompass/apis/taxcompass-api.md) · [All operations](https://skmtc.dev/taxcompass/apis/taxcompass-api/llms.txt) · [OpenAPI document](https://skmtc.dev/taxcompass/apis/taxcompass-api/revisions/fef5fc6a9b91?raw)
