Agent WebSocket
A bidirectional session with an Atoms agent. Open the connection with
your API key and an `agent_id`; the server creates a session, bridges
audio and transcripts to the STT/LLM/TTS pipeline, and streams events
back until the client closes or the server ends the session.
Post-call, the full conversation (transcript + recording) is available
at `GET /atoms/v1/conversation/{callId}` using the `call_id` from
`session.created`.
Handshake
WSS
wss://api.smallest.ai/atoms/v1/agent/connect
Authentication
AuthorizationBearer
API key from the console ApiKey collection, sent as Bearer token. Also accepts session cookies for browser-based auth.
Send
sendInputAudioAppend
OR
sendInputAudioCommit
OR
sendInputText
OR
sendSessionUpdate
OR
sendSessionClose
Receive
receiveSessionCreated
OR
receiveSessionClosed
OR
receiveOutputAudioDelta
OR
receiveTranscript
OR
receiveAgentStartTalking
OR
receiveAgentStopTalking
OR
receiveInterruption
OR
receiveError

