Get token-efficiency analytics
GET/api/v1/chatbots/:chatbotId/analytics/tokens
Token-usage & latency aggregates for a single chatbot at dashboard parity: total/avg/percentile tokens, model mix, context-growth buckets, and TTFT-by-model. Aggregate-only (no raw text). Tier-gated (pro+). Required scope: analytics:read.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Token analytics for the chatbot.
Bad Request — invalid input
Unauthorized — missing or invalid API key
Forbidden — key lacks required scope
Not Found
Too Many Requests — rate limit exceeded