Retrieve a cached response

Retrieve a single cached response by numeric cache entry ID. The current backend route is /api/cache/{id}/; there is no public lookup route by cache_key. This cache management endpoint currently requires dashboard JWT authentication.

Path parameters

idintegerRequired
Numeric cache entry ID returned by the list endpoint.

Headers

AuthorizationstringRequired

Bearer JWT token for dashboard-authenticated cache management endpoints.

Response

Cached response details.
idinteger
Numeric cache entry ID.
cache_keystring
Unique cache key for this cached response.
prompt_contentstring
Prompt text extracted from the cached request.
response_contentstring
Response text extracted from the cached response.
hit_countinteger
Live cache hit count enriched from ClickHouse.
timestampdatetime
When the cache entry was created.
updated_atdatetime
When the cache entry was last updated.
request_contentstring
Stored request text preview. The current backend serializer truncates this field to roughly the first 100 characters.
prompt_messageslist of objects
Original prompt message array stored with the cache entry.
full_responseobject
Full cached provider response object.
response_timedouble
Stored response time for the cached entry, in seconds.
expiry_datedatetime or null

When the cache entry expires. null means no expiry date is set.

Errors

401
Unauthorized Error
404
Not Found Error