Recommended reading order
1
Streaming responses
Start here. Defines the SSE format, every public message type, the typical
order of events in a request, and a canonical Python handler the rest of the
docs build on.
Read it
2
Grounding and citations
How
GROUNDING references attribute spans of the answer to their source
documents, the critical buffering rule for offset math, and a worked example
that turns a streamed response into a Markdown answer with inline citations.
Read it3
Error handling
The difference between HTTP-level errors and in-stream errors, what each of
ERROR, TOOL_ERROR, and LLM_RETRY means, and a retry/backoff pattern for
429 and 5xx responses.
Read it4
Conversation continuity
Resuming Research Agent conversations with
chat_id and checkpoints, the
persistence_mode switch, the "INITIAL" reset sentinel, and resuming
Workflows by execution_id.
Read itWhat each page covers
Next steps
Once you are comfortable with the concepts, move on to the service-specific quickstarts and how-to guides.Research Agent quickstart
Send your first Research Agent request end-to-end.
Workflows quickstart
Define and execute your first workflow, inline or by template id.
Non-streaming pattern
Consume the stream end-to-end and print the complete answer in one go.
Workflow templates
Anatomy of a workflow template, input placeholders, content filters, and research plans.