Analytics
Get project conversation analytics
Retrieve voice conversation analytics for a project
GET
Returns project-level voice conversation analytics: totals, average duration, and daily conversation/duration maps.
Non-voice projects may return empty metrics.
Authentication
string
required
Project API key for this organization and project. Format:
bot_live_…Path parameters
string
required
Organization ID. Must match the API key.
string
required
Project ID. Must match the API key.
Query parameters
string
JSON MongoDB-compatible filter object. Example:
{"status":"completed","start_time":{"$gte":"2026-07-01T00:00:00Z","$lte":"2026-07-22T23:59:59Z"}}.integer
default:"0"
Accepted for compatibility. Aggregation returns summary series (not a paged conversation list).
integer
default:"20"
Accepted for compatibility (
1–1000). Not applied to the summary aggregation.string
Accepted for compatibility. Not applied to the summary aggregation.
Response
object
required
Aggregate totals for the filtered conversations.
object
required
Map of date bucket key → conversation count.
object
required
Map of date bucket key → total duration seconds.
Errors
Bad Request
Invalid organization or project id.
Unauthorized
Missing, invalid, or revoked API key.
Forbidden
API key is not authorized for this organization or project.
Not Found
Project not found.

