Search + K

Command Palette

Search for a command to run...

Sign In

Get GitHub Actions cache usage for an organization

GET /orgs/{org}/actions/cache/usage
Copy endpoint
https://api.github.com

Gets the total 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.

Parameters

path Path Parameters

Name Type
org required

The organization name. The name is not case sensitive.

string

Responses

200 application/json

Response

interface ActionsCacheUsageOrgEnterprise {
total_active_caches_count: number;
total_active_caches_size_in_bytes: number;
}