Get search / retrieval-quality analytics
GET/api/v1/chatbots/:chatbotId/analytics/search
Retrieval-effectiveness aggregates for a single chatbot at dashboard parity: score histogram, per-scope retrieval quality, skip-RAG ratio, sources-per-query, and weakest queries. weakestQueries titles are k-anonymity-gated (≥3 sessions) and exposed exactly as the dashboard shows the owner. Tier-gated (pro+). Required scope: analytics:read.
Request
Responses
- 200
- 400
- 401
- 403
- 404
- 429
Search 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