Skip to main content

Get agent quality analytics

GET 

/api/v1/chatbots/:chatbotId/analytics/quality

Agent behavior & quality aggregates for a single chatbot at dashboard parity (aggregate metrics only — no raw traces, no PII). Answer-quality breakdown, agent decisions, average latency, and MCP tool-error tracking. The chatbot scope is derived server-side from the authenticated owner — no email parameter is accepted. Tier-gated (pro-plus+). Required scope: analytics:read. answerRate is number | null, computed only over turns the chatbot classified; it is null (distinct from a genuine 0%) whenever answerRateTracked is false — i.e. no classified turns in the window, or the metrics were temporarily unavailable. Consumers must handle null before arithmetic and can read answerRateTracked to explain the absence.

Request

Responses

Quality analytics for the chatbot.