Skip to main content
Monitor agent performance, call history, and usage statistics.
Prerequisites: API key, deployed agents

Stats Summary

Get a summary of statistics for all your agents, including call counts and durations.

Call History

Retrieve paginated call history with optional filtering by agent ID(s) and date range. You can filter by a single agent ID or multiple agent IDs. See the Call History endpoint for details. Each call history item includes:
  • Basic Info: id, agent_id, agent_name, call_timestamp, call_duration_seconds
  • Billing: credits_used - Credits consumed for the call
  • Metadata: has_transcript, call_type (e.g., 'web', 'sip_inbound', 'sip_outbound', 'test', 'playground')
  • Phone Numbers: from_number, to_number (for phone calls)
  • Transcript Data: transcription_summary (AI-generated summary), transcription_stats (message counts and statistics)
Response:

Call Transcript

Retrieve a presigned URL to download the transcript for a specific call using the call ID from call history. The transcript is stored as a JSON file in S3. See the Get Call Transcript URL endpoint for details.
Response:
The presigned URL is valid for a limited time. Download the JSON file to access the full transcript data, which includes call metadata and message history.

Call Recording

Retrieve the merged call recording status for a specific call using the call ID from call history. When the recording is ready, the endpoint returns a presigned URL to a muxed MP3 file. If the recording artifacts are still being processed, the endpoint returns processing. See the Call Recording endpoint for details.
Responses:
Possible status values:
  • ready: Recording is available and url is populated.
  • processing: Recording artifacts are still being merged.
  • not_recorded: No recording exists for that call.

Use Cases

  • Performance Monitoring: Track call volumes, durations, and success rates
  • Cost Analysis: Monitor credit usage and optimize agent configurations
  • Quality Assurance: Review transcripts to improve agent prompts and responses
  • Agent Comparison: Compare performance across different agents

Next Steps