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

# Get GitHub Actions cache usage for an enterprise

`GET /enterprises/{enterprise}/actions/cache/usage`

Gets the total GitHub Actions cache usage for an enterprise.
The data fetched using this API is refreshed approximately every 5 minutes, so values returned from this endpoint may take at least 5 minutes to get updated.
You must authenticate using an access token with the `admin:enterprise` scope to use this endpoint.

## Path parameters

- `enterprise` string, required

## Response `200`

Response

- ActionsCacheUsageOrgEnterprise
  - `total_active_caches_count` integer, required — The count of active caches across all repositories of an enterprise or an organization.
  - `total_active_caches_size_in_bytes` integer, required — The total size in bytes of all active cache items across all repositories of an enterprise or an organization.

---

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