DELETE
/cacheCache Management
Manage the server-side data cache.
DELETE
/cacheAUTHClear the server-side data cache.
Forces a fresh load from upstream data sources on the next request. Useful when you know operational data has changed and want to bypass the 5-minute TTL.
Response
json
{
"status": "cache cleared",
"timestamp": "2026-04-07T12:05:00+00:00"
}Cache Status
GET
/data/cache/statusAUTHGet cache statistics and entry details.
Returns information about current cache entries including age, validity, and estimated memory usage.
json
{
"cache_entries": 2,
"cache_ttl_seconds": 300,
"entries": {
"snapshot:airline:QF": {
"cached_at": "2026-04-07T12:00:00+00:00",
"age_seconds": 120.5,
"is_valid": true,
"size_estimate": 45230
}
},
"memory_usage_estimate": 90460
}cache_ttl_secondsintegerCache time-to-live in seconds (currently 300 = 5 minutes).
entriesobjectMap of cache keys to their status, age, and size.