How AI is applied across API Evangelist and APIs.io. Read my AI disclosure →
API Evangelist API Evangelist
Discovery
Learnings
Guidance
Toolbox
Alignment
API Evangelist LLC

GitHub Usage API

The Usage API from GitHub — 4 operation(s) for usage.

GitHub Usage API is one of 350 APIs that GitHub publishes on the APIs.io network, described by a machine-readable OpenAPI specification and an AsyncAPI event-driven specification.

Tagged areas include Usage. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, an AsyncAPI specification, and an API reference.

This API exposes 5 operations across 4 paths, and defines 3 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against 2 base URLs: {protocol}://{hostname}/api/v3, {protocol}://{hostname}.

5 operations 4 paths 3 schemas 4 GET1 PATCH

Metadata

The identity and technical contract details declared by the specification.

Specification
OpenAPI 3.2.0
API Version
1.1.4
Base URL
https://api.github.com
Authentication
HTTP Bearer
License
Terms of Service
Resource Areas
1

Authentication & Security 1

GitHub Usage API declares 1 security scheme for authenticating requests. It accepts HTTP bearer tokens (bearerHttpAuthentication).

  • bearerHttpAuthentication — Bearer Token

Paths & Operations 5

Across 4 paths, the API surfaces 5 operations — 4 GET, 1 PATCH. Each is listed below with its method, path, parameters, and response codes.

Usage 5
GET
/orgs/{org}/actions/cache/usage
GitHub Get Github Actions Cache Usage for an Organization
getGithubActionsCacheUsageForAnOrganization 1 param → 200
GET
/orgs/{org}/actions/cache/usage-by-repository
GitHub List Repositories with Github Actions Cache Usage for an Organization
listRepositoriesWithGithubActionsCacheUsageForAnOrganization 3 params → 200
GET
/repos/{owner}/{repo}/actions/cache/usage
GitHub Get Github Actions Cache Usage for Repository
getGithubActionsCacheUsageForRepository 5 params → 200
GET
/repos/{owner}/{repo}/actions/cache/usage-policy
GitHub Get Github Actions Cache Usage Policy for Repository
getGithubActionsCacheUsagePolicyForRepository 5 params → 200
PATCH
/repos/{owner}/{repo}/actions/cache/usage-policy
GitHub Set Github Actions Cache Usage Policy for Repository
setGithubActionsCacheUsagePolicyForRepository 5 params body → 204

Schemas 3

The contract defines 3 schemas that model the data the API accepts and returns. The most detailed are actions-cache-usage-by-repository (3 properties), actions-cache-usage-org-enterprise (2 properties), actions-cache-usage-policy-for-repository (1 property). Each schema is shown below with its type and property counts.

actions-cache-usage-org-enterprise
object
2 properties 2 required
actions-cache-usage-by-repository
object
GitHub Actions Cache Usage by repository.
3 properties 3 required
actions-cache-usage-policy-for-repository
object
GitHub Actions cache usage policy for repository.
1 property 1 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-usage-api-openapi.yml Raw ↑

Other APIs GitHub publishes across the network.

GitHub Events API
GitHub Feeds API
GitHub Gists API
GitHub Issues API
GitHub Licenses API
GitHub Markdown API
GitHub Meta API
GitHub Notifications API
GitHub Octocat API
GitHub Projects API
GitHub Repos API
GitHub Search API
Where this information came from

This is an independent, third-party profile of GitHub Usage API, published by API Evangelist. We do not operate, host, resell, or support these APIs, and we are not affiliated with or endorsed by the company unless stated above. Everything here is built from publicly available information — the company's own site, developer portal, documentation, public repositories, and the specifications it publishes for public use. Nothing is obtained by breaching a system, defeating an access control, or using credentials.

The Kin Score and Agent Readiness rating are independently calculated assessments of a company's public API artifacts, scored against a published rubric. They are not certifications, endorsements, security assessments, or audits.

Corrections, re-scores, and removal are free — no partnership or purchase required, and you do not need to justify the request. A removed company is recorded as unrated, never scored zero for having asked. Acknowledgement within one business day; removal within two.

info@apievangelist.com · Read the full data-sourcing policy →
On a security or compliance team? Put security in the subject line and you will get a person, not a form — we will tell you exactly which public URLs this profile was built from.