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
id
Numeric cache entry ID returned by the list endpoint.
Headers
Authorization
Bearer JWT token for dashboard-authenticated cache management endpoints.
Response
Cached response details.
id
Numeric cache entry ID.
cache_key
Unique cache key for this cached response.
prompt_content
Prompt text extracted from the cached request.
response_content
Response text extracted from the cached response.
hit_count
Live cache hit count enriched from ClickHouse.
timestamp
When the cache entry was created.
updated_at
When the cache entry was last updated.
request_content
Stored request text preview. The current backend serializer truncates this field to roughly the first 100 characters.
prompt_messages
Original prompt message array stored with the cache entry.
full_response
Full cached provider response object.
response_time
Stored response time for the cached entry, in seconds.
expiry_date
When the cache entry expires. null means no expiry date is set.
Errors
401
Unauthorized Error
404
Not Found Error