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-records
Scope:calls:read
Query Parameters
page
numberoptional

Zero-based page index.

size
numberoptional

Records per page (max 100).

direction
enumoptional

Filter by call direction.

inboundoutbound
agentId
stringoptional

Filter to records handled by a specific agent.

startedAfter
stringoptional

ISO 8601 timestamp — return only calls that started after this time.

startedBefore
stringoptional

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
Authorization

Query

pageoptional
sizeoptional
directionoptional
agentIdoptional
startedAfteroptional
startedBeforeoptional