Stream a citation-backed answer for a user’s question.
Auth: client key. Response: text/event-stream.

Request body

Response stream

Token deltas stream first, then a final event carries thread_id, message_id, and citations:
Citations map to [n] markers in the answer text — render them as numbered source links.

Continuing a conversation

Either pass thread_id in the project chat body, or post to the thread endpoint:
Same body and stream format. Conversation memory includes recent turns, so follow-ups like “what about SSO?” resolve correctly.

CAPTCHA

Keys with require_captcha must include X-Captcha-Token: <reCAPTCHA v3 token>. See Authentication.

Notes

  • Restricted documents are never retrieved by public chat.
  • When retrieval finds nothing relevant, the assistant says it doesn’t know rather than guessing — answers are generated only from retrieved sources.
  • Prefer WebSocket? See the WebSocket transport — the SDK uses it by default with SSE fallback.