Subscribe to live call events (SSE)
Changed onReal-time streaming of user speech (STT) and agent speech (TTS) events for an active call via Server-Sent Events.
The connection is real-time — events stream directly from the call runtime as they are produced. The SSE connection auto-closes when the call ends (sse_close event). Only active calls can be subscribed to; completed calls return a 400 error.
Transcript event types:
- user_interim_transcription — Partial, in-progress transcription as the user speaks. Use for live preview only; will be superseded by user_transcription.
- user_transcription — Final transcription for a completed user speech turn.
- tts_completed — Fired when the agent finishes speaking a TTS segment. Includes the spoken text and optionally TTS latency.
Lifecycle events:
- sse_init — Sent immediately when the SSE connection is established.
- sse_close — Sent when the call ends, right before the server closes the connection.
Other event types (e.g. tool_call_start, pre_call_api, agent_log, metrics) are also sent on this stream.
- call_start
- call_end
- turn_latency
- metrics
- agent_node_state
- hopping
- knowledgebase
- variable_extraction
- pre_call_api
- post_call_api
- agent_error
- agent_log
- tool_call_start
- tool_call_end
- tool_call_error
- call_cancelled
- call_recording
Request
- Base URLhttps://api.smallest.ai/atoms/v1
- URLhttps://api.smallest.ai/atoms/v1/events
- AuthHTTP bearer
Query parameters
The call ID to subscribe events for. Missing or invalid values return 400.
Headers
Required when using session-cookie auth. API-token auth may infer the organization from the token.
Response
SSE event stream established successfully
Changes
- breaking
the
response's property type changed fromobjecttoarrayfor status
- breaking
- warning
added the new
agent_errorenum value to theresponse property for the response status - warning
added the new
agent_logenum value to theresponse property for the response status - warning
added the new
agent_node_stateenum value to theresponse property for the response status - warning
added the new
call_cancelledenum value to theresponse property for the response status - warning
added the new
call_endenum value to theresponse property for the response status - warning
added the new
call_recordingenum value to theresponse property for the response status - warning
added the new
call_startenum value to theresponse property for the response status - warning
added the new
hoppingenum value to theresponse property for the response status - warning
added the new
knowledgebaseenum value to theresponse property for the response status - warning
added the new
metricsenum value to theresponse property for the response status - warning
added the new
post_call_apienum value to theresponse property for the response status - warning
added the new
pre_call_apienum value to theresponse property for the response status - warning
added the new
tool_call_endenum value to theresponse property for the response status - warning
added the new
tool_call_errorenum value to theresponse property for the response status - warning
added the new
tool_call_startenum value to theresponse property for the response status - warning
added the new
turn_latencyenum value to theresponse property for the response status - warning
added the new
variable_extractionenum value to theresponse property for the response status - info
added the new optional
headerrequest parameterX-Organization-Id - info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the non-success response with the status
- info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- warning