---
title: "POST /gateway-get-cache"
method: POST
path: "/gateway-get-cache"
tags: ["v2"]
---

# POST /gateway-get-cache

`POST /gateway-get-cache`

## Request body

- GatewayGetCache — gatewayGetCache is a command that get cache settings
  - `json` boolean — Set output format to JSON
  - `token` string — Authentication token (see `/auth` and `/configure`)
  - `uid-token` string — The universal identity token, Required only for universal_identity authentication

## Response `200`

gatewayGetCacheResponse wraps response body.

- CacheConfigPart
  - `cache_enable` boolean
  - `cache_encryption_key` string
  - `cache_ttl` string
  - `new_proactive_cache_enable` boolean
  - `proactive_cache_dump_interval` string
  - `proactive_cache_enable` boolean
  - `proactive_cache_minimum_fetching_time` string

## Other responses

- `default` — errorResponse wraps any error to return it as a JSON object with one "error" field.

---

[API](https://skmtc.net/akeyless/apis/akeyless-api.md) · [All operations](https://skmtc.net/akeyless/apis/akeyless-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/akeyless/akeyless-api/versions/0ceb25634501/schema)
