---
title: "Get GitHub Actions cache storage limit for an enterprise"
method: GET
path: "/enterprises/{enterprise}/actions/cache/storage-limit"
tags: ["actions"]
---

# Get GitHub Actions cache storage limit for an enterprise

`GET /enterprises/{enterprise}/actions/cache/storage-limit`

Gets GitHub Actions cache storage limit for an enterprise. All organizations and repositories under this
enterprise may not set a higher cache storage limit.

OAuth tokens and personal access tokens (classic) need the `admin:enterprise` scope to use this endpoint.

## Path parameters

- `enterprise` string, required

## Response `200`

Response

- ActionsCacheStorageLimitForEnterprise — GitHub Actions cache storage policy for an enterprise.
  - `max_cache_size_gb` integer — For repositories & organizations in an enterprise, the maximum size limit for the sum of all caches in a repository, in gigabytes.

## Other responses

- `403` — Forbidden
- `404` — Resource not found

---

[API](https://skmtc.net/github/apis/github-v3-rest-api-2.md) · [All operations](https://skmtc.net/github/apis/github-v3-rest-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/github/github-v3-rest-api-2/versions/8ae6d0c8716e/schema)
