Skip to navigation

Analytics Metrics API

Overview

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.

The Analytics Metrics API is in limited availability. It is available only to AI Agents that are enrolled in it. For other AI Agents, the endpoint returns 404. To enroll, contact your Ada team.

Endpoint

Call GET /api/v2/analytics/metrics/ with a date range:

curl "https://example.ada.support/api/v2/analytics/metrics/?start_date=2026-11-01&end_date=2026-11-07&time_zone=America/Toronto" \
-H "Authorization: Bearer <API key>"
ParameterRequiredDescription
start_dateYesThe first day of the range, inclusive, in the format YYYY-MM-DD. Use a date from 2000-01-01 to 2100-12-31.
end_dateYesThe last day of the range, inclusive, in the format YYYY-MM-DD. Use a date from 2000-01-01 to 2100-12-31. The range can be at most 366 days.
time_zoneNoThe IANA time zone name that sets where each day starts and ends. The default is UTC. The dashboard value UTC/UTC is accepted and reads as UTC.

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.

FieldTypeDescription
conversations_openedintegerThe number of conversations that opened in the range.
conversations_engagedintegerThe number of engaged conversations in the range.
containment_ratenumberThe percentage of engaged conversations that did not hand off to a human agent.
automated_resolution_ratenumber | nullThe Automated Resolution rate. null when no conversation in the range is eligible for an assessment, or when the rate is not available. For some AI Agents, the rate is 0 in place of null when no conversation in the range has an assessment.
csat_ratenumber | nullThe CSAT rate: the percentage of satisfaction surveys with a positive score. null when no customer submitted a survey in the range.

The response also repeats start_date, end_date, and the time zone that the request used. Example:

{
"start_date": "2026-11-01",
"end_date": "2026-11-07",
"time_zone": "America/Toronto",
"conversations_opened": 1200,
"conversations_engaged": 950,
"containment_rate": 76.4,
"automated_resolution_rate": 61.2,
"csat_rate": 82.5
}

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.

Errors

StatusCause
400A date is not in the format YYYY-MM-DD or is outside 2000-01-01 to 2100-12-31, end_date is before start_date, the range is more than 366 days, or the time zone is not a known IANA name or UTC/UTC.
401The API key is missing or not valid, or it does not have the platform_apis or analytics_metrics:read scope.
404The Analytics Metrics API is not turned on for your AI Agent.
503The metrics are not available now. Send the request again later.