Core resources
Calls
Start web (browser) calls, read call records, transcripts, recordings, the per-turn event timeline, and analytics. Outbound phone calls are started via the Phone numbers → dial endpoint.
/calls calls:writeStart a web call
Create a browser call to an assistant. Returns a LiveKit room token + websocket URL to connect from the client.
Body
| agentId* | uuid | Assistant to run. |
| metadata | object | Arbitrary metadata stored on the call. |
Example request
curl -X POST https://api.bolchoai.in/v1/calls -H "Authorization: Bearer $VOXA_API_KEY" -H "Content-Type: application/json" \
-d '{ "agentId": "'$AGENT_ID'" }'Response
{ "callId": "c1…", "room": "call_…", "token": "<livekit-jwt>", "wsUrl": "wss://…livekit.cloud" }/calls calls:readList calls
List calls, newest first. Filter by status or assistant.
Query parameters
| limit | number | Page size. |
| offset | number | Offset. |
| agentId | uuid | Filter by assistant. |
| status | string | queued | in_progress | completed | failed. |
Example request
curl "https://api.bolchoai.in/v1/calls?limit=20" -H "Authorization: Bearer $VOXA_API_KEY"/calls/{id} calls:readGet call
Full call record: status, end reason, duration, cost breakdown, summary, structured data, TTS-cache savings, and the transcript turns.
Path parameters
| id* | uuid | Call id. |
Example request
curl https://api.bolchoai.in/v1/calls/$ID \
-H "Authorization: Bearer $VOXA_API_KEY"/calls/{id}/events calls:readGet event timeline
The ordered event stream for session replay — turn latencies, tool calls, speech events.
Path parameters
| id* | uuid | Call id. |
Example request
curl https://api.bolchoai.in/v1/calls/$ID/events \
-H "Authorization: Bearer $VOXA_API_KEY"/calls/{id}/recording calls:readGet recording URL
A short-lived signed URL to the call audio recording.
Path parameters
| id* | uuid | Call id. |
Example request
curl https://api.bolchoai.in/v1/calls/$ID/recording \
-H "Authorization: Bearer $VOXA_API_KEY"Response
{ "url": "https://…?signature=…" }/calls/analytics analytics:readAnalytics rollup
Daily time-series + totals: calls, minutes, cost, success rate, latency (avg/p95), TTS-cache savings, and outcome breakdown.
Query parameters
| days | number | Window in days (default 14). |
Example request
curl https://api.bolchoai.in/v1/calls/analytics \
-H "Authorization: Bearer $VOXA_API_KEY"/calls/search calls:readSearch calls
Search calls by transcript content and filters.
Example request
curl -X POST https://api.bolchoai.in/v1/calls/search \
-H "Authorization: Bearer $VOXA_API_KEY"