API documentation
post
/api/v1/chat/messageSends a user message and returns the assistant reply in the HTTP response. The same reply is broadcast on the chat SignalR group for live UI updates.
Chat
Request body
{
"sessionId": "00000000-0000-0000-0000-000000000000",
"content": "string",
"turnstileToken": "string",
"delivery": "string"
}Responses
- 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.