List cache hit metrics
Returns semantic cache hit metrics (count, tokens, savings, hit %) as a time series.
Headers
Authorization
Bearer token. Use Bearer YOUR_API_KEY.
Request
This endpoint expects an object.
start_time
Inclusive start of the range, ISO 8601.
end_time
Inclusive end of the range, ISO 8601.
time_tick
Bucket granularity for time-series endpoints. If omitted, inferred from the range. Has no effect on /summary/ endpoints.
Allowed values:
Response
Successful response.
date_group
cache_hit_count
Number of requests served from cache.
cache_hit_tokens
Tokens returned from cache.
cache_hit_cost_savings
Estimated cost saved.
cache_hit_percentage
Cache hit rate (0-100).