---
title: "Get GitHub Actions cache usage policy for a repository"
method: GET
path: "/repos/{owner}/{repo}/actions/cache/usage-policy"
tags: ["actions"]
---

# Get GitHub Actions cache usage policy for a repository

`GET /repos/{owner}/{repo}/actions/cache/usage-policy`

Gets GitHub Actions cache usage policy for a repository.

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

## Path parameters

- `owner` string, required
- `repo` string, required

## Response `200`

Response

- ActionsCacheUsagePolicyForRepository — GitHub Actions cache usage policy for repository.
  - `repo_cache_size_limit_in_gb` integer, required — The size limit for the sum of all caches, in gigabytes.

---

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