API documentação
post
/api/v1/chat/messageSends a user message and returns the assistant reply in the HTTP response. The same reply is also delivered in real time to open chat clients for that session.
Chat
Corpo da solicitação
{
"sessionId": "00000000-0000-0000-0000-000000000000",
"content": "string",
"turnstileToken": "string",
"delivery": "string"
}RESPOSTAS
- 200Assistant reply markdown/text.application/json
{ "reply": "Here is a summary of BTCUSD performance over the last year. Past performance is not indicative of future results." } - 400Missing session id or message body.application/json
{} - 401Session token invalid or session belongs to another user.application/json
{} - 404Unknown session.application/json
{} - 429Per-session message rate limit exceeded.application/json
{} - 503Chat is disabled on this environment.