Skip to main content
Analytics gives you visibility into how your retrievers perform in production. Track latency, stage-level bottlenecks, cache efficiency, and get automated recommendations for improvement.

Endpoints Overview

Performance Metrics

Get latency percentiles and query volume over time:
Query parameters: Response includes: P50, P95, and P99 latency, query counts, result counts, and trends over the time range.

Stage Breakdown

Understand which stages consume the most time:
Query parameters: Response includes: Per-stage execution time, document count entering/exiting each stage, and stage-level latency distributions. Use this to identify bottlenecks — a rerank stage processing 500 documents is slower than one processing 50.

Slow Queries

Find the queries that take the longest to execute:
Query parameters: Response includes: Query text, total execution time, result count, and stage-by-stage breakdown for each slow query. Use this to find pathological queries that need optimization.

Cache Performance

Monitor how effectively caching reduces latency:
Response includes: Hit/miss rates, average latency for cache hits vs full execution, and hourly trends. A low hit rate may indicate your queries are too diverse for caching, or that cache TTL needs adjustment.

Retriever Signals

Get raw operational signals for debugging:
Signal types:

AI-Powered Tuning

Get automated recommendations for improving your retriever:
Query parameters: Response includes: Parameter suggestions (e.g., “reduce top_k from 500 to 200”), cache optimization tips, and performance improvement estimates based on observed patterns.

Identifying Relevance Issues

Use analytics to spot relevance problems:

Monitoring Cadence