Calls

Phone and browser calls: stream or watch them live, and report on how they went. The report says who handled each call.

Every call is a Call entity: its id, status, direction, recording and the conversation that handled it are read through the Entities API, and that record stays after the call ends. A finished call also carries its segments: who handled each part of it, in order (an AI agent, a phone line and the people heard on it, a phone tree, voicemail), when each was reached, answered and ended, and what happened there. The report aggregates those segments for a date range, whatever your routing setup.

The sockets cover the live part. A call has two channels: 0 is the caller and 1 is the assistant. Events arrive as event frames whose event_type names the pipeline event (transcripts, assistant speech, tool calls, hangup). Audio frames carry base64-encoded 16-bit mono PCM at 16 kHz. Both sockets are part of the public API and need a signed-in caller, like every other route. To speak text without a call, use the text-to-speech resource instead.

Operations

Channels