---
title: "Get cache status REST API | HitKeep"
description: "Reference for the HitKeep REST API operation Get cache status, including request parameters, responses, and authentication notes."
canonical: "https://hitkeep.com/api/operations/apiadminsystemcaches/"
---

# Get cache status REST API

GET

/api/admin/system/caches

FetchcURL

```
const url = 'http://127.0.0.1:25737/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 http://127.0.0.1:25737/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

- **[cookieAuth](https://hitkeep.com/api/#cookieauth)**

## Responses

### 200

System cache status

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

##### Examplegenerated

```
{
  "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"
}
```

[Previous Get backup status](https://hitkeep.com/api/operations/apiadminsystembackups/)[Next Get database resilience status](https://hitkeep.com/api/operations/apiadminsystemdatabase/)
