Skip to main content

POST /chat

Send a message and receive a synchronous reply.
Request body Response

GET /sessions

List active sessions.

DELETE /sessions/

Clear a session’s conversation history.

WebSocket streaming

Connect to ws://localhost:7432/ws and send:
Receive frames:

POST /chat/canvas

Send a message and request a structured output (canvas render).
The response includes canvas_data when the LLM produces chart-compatible output: