Skip to content

Stream Session Events

GET/v1/agents/sessions/{session_id}/events

Open the native live event stream (text/event-stream). Open it before sending input. The stream is live-only: Last-Event-ID or an after query returns 400, and events emitted while you were disconnected are not replayed; read them from items or turns. The server first writes a ": connected" comment. Event types start with agent.session.

Path parameters

stringsession_idrequired

Session ID (ses_ prefix).