Siirry pääsisältöön

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

Standard Mode: JSON response with the assistant message.

Streaming Mode: Server-Sent Events stream with multiple event types.

Valmiina nostamaan
käyttäjäkokemustasi?

Ota käyttöön AI-avustajat, jotka ilahduttavat asiakkaita ja skaalaavat liiketoimintaasi.

GDPR-yhteensopiva