POST /v1/bots/{botId}/chatPOST /v1/bots/{botId}/chat/stream
GET /v1/bots first to find a bot ID.
Standard chat response
messagerequiredsessionIduserIdincludeCitationswebSearchuseMcp
Streaming
If you want a streamed reply, use the SSE endpoint:text/event-stream.
Session context
If you want the next request to continue the same conversation, pass thesessionId from the previous response.
Credits
Each chat response costs1 credit.
If the workspace has no credits left, the API returns 402.