Send a chat message
POST/chat
Send a message to the AI assistant and receive a response.
Streaming Mode: Add ?stream=true query parameter to receive Server-Sent Events (SSE)
for real-time token-by-token streaming.
Note: This endpoint uses a different base path: /api/chat (not /api/v1/chat)
Request
Responses
- 200
Standard Mode: JSON response with the assistant message.
Streaming Mode: Server-Sent Events stream with multiple event types.