text/event-stream.
Request body
Response stream
Token deltas stream first, then a final event carriesthread_id, message_id, and citations:
[n] markers in the answer text — render them as numbered source links.
Continuing a conversation
Either passthread_id in the project chat body, or post to the thread endpoint:
CAPTCHA
Keys withrequire_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.