Get Cache Performance
Retrievers
Get Cache Performance
Get cache performance metrics.
Analyzes cache effectiveness including:
- Hit/miss rates
- Latency comparison (cache vs full search)
- Hourly cache performance trends
Use Cases:
- Evaluate cache effectiveness
- Optimize cache TTL settings
- Monitor cache performance
- Identify cache warming opportunities
Example:
curl -X GET "https://api.mixpeek.com/v1/analytics/retrievers/ret_abc123/cache-performance?hours=168" \
-H "Authorization: Bearer YOUR_API_KEY" \
-H "X-Namespace: your-namespace"
GET
Get Cache Performance
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Path Parameters
Query Parameters
Hours of history
Required range:
1 <= x <= 720Response
Successful Response
Cache performance metrics.
Retriever identifier
Time range
Overall cache hit rate
Required range:
0 <= x <= 1Total cache hits
Total cache misses
Average latency on cache hit
Average latency on cache miss
Hourly cache performance

