Skip to main content
The Analytics API gives you programmatic access to data about how your agent is performing. You can use it to query aggregate usage metrics, retrieve conversation transcripts, and run automated evaluations to assess conversation quality at scale.

Endpoints

Transcripts

Transcripts are full records of each conversation. You can search, retrieve, and delete them, or mark them as ended. Ending a transcript signals that the conversation is complete and triggers any enabled evaluations to run automatically. Transcript properties are custom metadata fields you define at the project level and attach to individual transcripts. They’re useful for tagging conversations with context that isn’t captured automatically, such as a support ticket ID or a user segment. Once defined, you can filter transcript searches by property values.

Evaluations

Evaluations are automated, LLM-based quality assessments that run against your transcripts. You define an evaluation with a prompt describing what you’re measuring and an output type — a pass/fail boolean, a numeric rating, a free-text response, or a selection from a predefined set of options. Evaluations can run automatically whenever a transcript ends, or you can trigger them manually against individual transcripts or in batches.