Event Stream
Allternit exposes two real-time channels for observing beta session events:- Server-Sent Events (SSE) at
GET /api/v1/beta/sessions/:id/events - WebSocket at
GET /api/v1/beta/sessions/:id/events/ws
Authentication
Both endpoints require a valid bearer token. See Authentication.Event types
Only
thinking_delta, content_block_delta, tool_calls, and refusal may be appended directly by callers. All other event types are emitted by the platform.
SSE example
?after=<sequence> to resume from a known sequence number.