Skip to main content
GET
Get Cache Performance

Authorizations

Authorization
string
header
required

Mixpeek API key, sent as Authorization: Bearer mxp_sk_.... Create one in Studio under Settings → API Keys, or with an admin key via POST /v1/organizations/users/{user_email}/api-keys. A missing header returns 403; an invalid or revoked key returns 401.

X-Namespace
string
header
required

Namespace id (ns_...), not the namespace name. This scopes the request rather than authenticating it, and it is required on every operation marked x-mixpeek-namespace-scoped.

Path Parameters

retriever_id
string
required

Query Parameters

hours
integer
default:24

Hours of history

Required range: 1 <= x <= 720

Response

Successful Response

Cache performance metrics.

retriever_id
string
required

Retriever identifier

time_range
TimeRange · object
required

Time range

cache_hit_rate
number
required

Overall cache hit rate

Required range: 0 <= x <= 1
total_cache_hits
integer
required

Total cache hits

total_cache_misses
integer
required

Total cache misses

avg_cache_hit_latency_ms
number
required

Average latency on cache hit

avg_cache_miss_latency_ms
number
required

Average latency on cache miss

hourly_breakdown
Hourly Breakdown · object[]
required

Hourly cache performance