v50

latestOpenAPI 3.0.3MITraw.githubusercontent.com2024-01-0382859610.0 MB
actions

Get GitHub Actions cache usage for an organization

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. You must authenticate using an access token with the read:org scope to use this endpoint. GitHub Apps must have the organization_admistration:read permission to use this endpoint.

get/orgs/{org}/actions/cache/usage

Path parameters

orgstring required

The organization name. The name is not case sensitive.

Response

Response

total_active_caches_countinteger required

The count of active caches across all repositories of an enterprise or an organization.

total_active_caches_size_in_bytesinteger required

The total size in bytes of all active cache items across all repositories of an enterprise or an organization.