v56

latestOpenAPI 3.0.3MITraw.githubusercontent.com2026-08-011,4581,08113.3 MB
actions

Get GitHub Actions cache storage limit for an enterprise

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.

get/enterprises/{enterprise}/actions/cache/storage-limit

Path parameters

enterprisestring required

The slug version of the enterprise name.

Response

Response

max_cache_size_gbinteger

For repositories & organizations in an enterprise, the maximum size limit for the sum of all caches in a repository, in gigabytes.

Example response

{
  "max_cache_size_gb": 10
}