Analytics Metrics API
The Analytics Metrics API returns the headline metrics of the dashboard Home page for a date range. Use it to show your AI Agent’s performance in your own dashboard.
404. To enroll, contact your Ada team.Endpoint
Call GET /api/v2/analytics/metrics/ with a date range:
The endpoint has no filters and no intervals. It returns one value for each metric over the full range. To get one value for each day, send one request for each day.
Metrics
Each value is the number that the Home page shows for the same dates and time zone, with no filters. To get the same numbers as the dashboard, send the time zone of the dashboard user. Rates are percentages from 0 to 100.
The response also repeats start_date, end_date, and the time zone that the request used. Example:
Metrics for recent days can change for a few days. For example, the Automated Resolution assessment of a conversation arrives after the conversation ends. Request recent days again to get the final values.
Authentication
Send a Platform API key in the Authorization header. See Authentication. The endpoint accepts a key with either of these scopes:
platform_apis: An API key that you create on the dashboard has this scope. It also gives access to the other Platform APIs.analytics_metrics:read: A key with only this scope reads these metrics and nothing else. The dashboard does not create keys with this scope. To get one, contact your Ada team.
Rate limits
The endpoint has these limits for each AI Agent:
- Requests per day: 2,000
- Requests per minute: 30
- Requests per second: 2
A 429 response means that a request went over a limit. Wait, then send the request again.