Get cache status
GET
/api/admin/system/caches
const url = 'https://hitkeep.com/api/admin/system/caches';const options = {method: 'GET', headers: {cookie: 'hk_token=<hk_token>'}};
try { const response = await fetch(url, options); const data = await response.json(); console.log(data);} catch (error) { console.error(error);}curl --request GET \ --url https://hitkeep.com/api/admin/system/caches \ --cookie hk_token=<hk_token>Returns LRU cache sizes, maximum sizes, TTLs, and pressure status for permissions, API clients, and API rate limiting.
Authorizations
Section titled “Authorizations ”Responses
Section titled “ Responses ”System cache status
Media type application/json
object
api_client_cache
object
max_size
integer
size
integer
ttl
string
permissions_cache
object
max_size
integer
size
integer
ttl
string
rate_limiter_cache
object
max_size
integer
size
integer
ttl
string
status
string
Example generated
{ "api_client_cache": { "max_size": 1, "size": 1, "ttl": "example" }, "permissions_cache": { "max_size": 1, "size": 1, "ttl": "example" }, "rate_limiter_cache": { "max_size": 1, "size": 1, "ttl": "example" }, "status": "example"}