Stream conversation events
Server-sent events for a conversation. Durable event IDs are Last-Event-ID resume checkpoints; live heartbeat/control frames never advance them. Token expiry leaves a healthy stream open. Session revocation, hard expiry, and exhaustion stop delivery and close the stream within 10 seconds; the server attempts a session-ended control event whose data is a google.rpc.Status with WidgetSessionErrorInfo, without an id. If delivery fails, reconnect returns the same structured terminal reason. Reconnect uses current credentials and rechecks conversation authorization. See the widget session lifecycle contract for in-flight action and replacement-session policy. Set includeDeltas to also receive transient assistantMessageDelta fragments of the assistant’s text as it is generated (dlt_ IDs, no SSE id field, never replayed).
Authorizations
Query Parameters
Response
A stream of Server-Sent Events
- Option 1
- Option 2
- Option 3
- Option 4
- Option 5
- Option 6
- Option 7
- Option 8
- Option 9
- Option 10
- Option 11
- Option 12
- Option 13
- Option 14
- Option 15
WidgetEvent is the visitor-facing event vocabulary. It MIRRORS the internal conversation event variants — same granularity, same discriminator names — with slimmed messages holding exactly what a widget UI needs. Internal events map to these through an explicit, exhaustive server-side projection; internal-only types (context compaction, memory reads, sub-agent bookkeeping) have no widget variant and are dropped. Nothing here carries tool configuration, server identities, operator details, or internal error strings. Tool arguments cross this boundary only when an enabled tool set rule, or the tool itself, explicitly opts the tool in.