---
title: "List repositories with GitHub Actions cache usage for an organization"
method: GET
path: "/orgs/{org}/actions/cache/usage-by-repository"
tags: ["actions"]
---

# List repositories with GitHub Actions cache usage for an organization

`GET /orgs/{org}/actions/cache/usage-by-repository`

Lists repositories and their GitHub Actions cache usage for an organization.
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.

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

## Path parameters

- `org` string, required

## Query parameters

- `per_page` integer
- `page` integer

## Response `200`

Response

- object
  - `total_count` integer, required
  - `repository_cache_usages` ActionsCacheUsageByRepository[], required
    - `full_name` string, required — The repository owner and name for the cache usage being shown.
    - `active_caches_size_in_bytes` integer, required — The sum of the size in bytes of all the active cache items in the repository.
    - `active_caches_count` integer, required — The number of active caches in the repository.

---

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