Call Metrics
Access detailed information about every call through the SDK.
Getting Recent Calls
Fetch a paginated list of calls:
The response includes pagination info:
Filtering Calls
Narrow results using filter parameters:
Filter Parameters
Getting Single Call Details
Retrieve complete details for one call:
Response Fields
Accessing Transcripts
The transcript is an array of messages with speaker roles:
Accessing Recordings
Recordings are available after the call completes:
Batch Search
Fetch multiple calls at once with search_calls():
Maximum 100 call IDs per request.
Performance Metrics
Each call includes latency breakdowns:
SDK Reference
Tips
What's the difference between status and disconnectionReason?
status is the outcome (completed, failed). disconnectionReason explains why it ended:
user_hangup— Caller hung upagent_hangup— Agent ended the calldial_no_answer— No pickuptimeout— Call timeout
When are recordings available?
Recordings generate after the call ends. They may take a few seconds to appear. Check if recordingUrl is non-empty before accessing.
How do I calculate average call duration?
Fetch calls with get_calls(), then calculate:
How do I find calls for a specific phone number?
Use the search parameter:
How do I get calls from a specific date range?
Currently, use pagination and filter client-side by createdAt. Date range filters are coming soon.

