POST /v1/bots/{botId}/chatPOST /v1/bots/{botId}/chat/stream
GET /v1/bots first to find a bot ID.
Standard chat response
messagerequiredsessionIdincludeCitationswebSearchuseMcp
Streaming
Use the SSE endpoint for streamed replies:text/event-stream.
Session context
Pass thesessionId from the previous response when you want the next request to continue the same conversation.
Usage
A chat response counts as one request. For API key traffic:- credit-balance workspaces use
1credit per chat response - enterprise pooled workspaces use included workspace requests first, then credits if available
- enterprise per-user workspaces use credits for API key traffic
402.