Call Records · API Reference
List Call Records
Returns completed call records for the authenticated product, ordered by most recent first. Records are available after a call ends. `callType` is `AI_CALL` when an agent ran the call, or `DIRECT_CALL` for raw two-way audio with no AI — it is independent of `direction`, since a Direct Call is an ordinary outbound call.
GET
/v1/call-recordsScope:
calls:readQuery Parameters
pagenumberoptional
Zero-based page index.
sizenumberoptional
Records per page (max 100).
directionenumoptional
Filter by call direction.
inboundoutboundagentIdstringoptional
Filter to records handled by a specific agent.
startedAfterstringoptional
ISO 8601 timestamp — return only calls that started after this time.
startedBeforestringoptional
ISO 8601 timestamp — return only calls that started before this time.
Responses
{
"records": [
{
"id": "rec_xxxxxxxxxxxx",
"sessionId": "ses_xxxxxxxxxxxxxxxxxx",
"direction": "outbound",
"callType": "AI_CALL",
"fromNumber": "+918008001234",
"toNumber": "+919876543210",
"agentId": "agt_xxxxxxxxxxxx",
"status": "ended",
"durationSec": 47,
"costMinor": 420,
"startedAt": "2025-05-26T10:32:01Z",
"endedAt": "2025-05-26T10:32:48Z"
}
],
"total": 142,
"page": 0,
"size": 20
}PlaygroundGET
AuthorizationQuery
pageoptionalsizeoptionaldirectionoptionalagentIdoptionalstartedAfteroptionalstartedBeforeoptional