Agentic chat

Sends a message to the Dialogue AI analyst and streams the response as server-sent events (SSE). The AI automatically queries the corpus using semantic search and structured filters before synthesising its answer. **Streaming format:** Each SSE event is a JSON object on a `data:` line. | Event type | Shape | Description | |---|---|---| | Text chunk | `{ "text": "..." }` | A fragment of the AI response | | Tool log | `{ "log": "tool_start", "tool": "search_comments", "elapsed": 1240 }` | Corpus query lifecycle event | | Done | `data: [DONE]` | Stream complete | Text events should be accumulated and rendered as markdown.

Request

This endpoint expects an object.
messageslist of objectsRequired
Full conversation history including the new user message.

Response

SSE stream of text chunks and log events

Errors

400
Bad Request Error
500
Internal Server Error