Stream session events (SSE)
Opens a Server-Sent Events stream of this session's operator results and lifecycle events as they happen, in real time. Each event's data is the JSON event payload and its id is the event id. The stream stays open until the session ends or the client disconnects.
This endpoint is authenticated by the stream token (from the stream-token endpoint) passed as the token query parameter — not by your API key — so it can be consumed directly by a browser EventSource. An invalid or missing token returns 401.
Path Parameters
- Type: string · Session Idsession
_id requiredThe session identifier returned when the session was created.
Query Parameters
- Type: string · Tokennullabletoken
The stream token from
GET /sessions/{session_id}/stream-token. Required — the events stream is authenticated by this token, not your API key.
Responses
- application/json
- application/json
- application/json
- application/json
Request Example for get/sessions/{session_id}/events
curl 'https://api.simwood.com/intelligence/v1/sessions/{session_id}/events'
null