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 Enterprise Billing API

Monitor charges and usage from Actions and Packages.

GitHub Enterprise Billing API is one of 58 APIs that GitHub Enterprise publishes on the APIs.io network, described by a machine-readable OpenAPI specification.

This API exposes 8 JSON Schema definitions.

Tagged areas include Billing. The published artifact set on APIs.io includes an OpenAPI specification, API documentation, rate-limit docs, authentication docs, and 8 JSON Schemas.

This API exposes 23 operations across 15 paths, and defines 25 schemas. It is described by OpenAPI 3.2.0, at version 1.1.4.

Requests are made against a single base URL, https://api.github.com.

23 operations 15 paths 25 schemas 3 DELETE14 GET2 PATCH4 POST

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
Contact
License
Terms of Service
Resource Areas
1

Paths & Operations 23

Across 15 paths, the API surfaces 23 operations — 3 DELETE, 14 GET, 2 PATCH, 4 POST. Each is listed below with its method, path, parameters, and response codes.

Billing 23

Monitor charges and usage from Actions and Packages.

GET
/enterprises/{enterprise}/settings/billing/advanced-security
Get GitHub Advanced Security active committers for an enterprise
billing/get-github-advanced-security-billing-ghe 4 params → 200
GET
/enterprises/{enterprise}/settings/billing/ai_credit/usage
Get billing AI credit usage report for an enterprise
billing/get-github-billing-ai-credit-usage-report-ghe 9 params → 200400403404500503
GET
/enterprises/{enterprise}/settings/billing/budgets
Get all budgets
billing/get-all-budgets 5 params → 200404403
POST
/enterprises/{enterprise}/settings/billing/budgets
Create a budget
billing/create-budget 1 param body → 200400401403404422500
GET
/enterprises/{enterprise}/settings/billing/budgets/{budget_id}
Get a budget by ID
billing/get-budget 2 params → 200400404403500503
PATCH
/enterprises/{enterprise}/settings/billing/budgets/{budget_id}
Update a budget
billing/update-budget 2 params body → 200400401403404422500503
DELETE
/enterprises/{enterprise}/settings/billing/budgets/{budget_id}
Delete a budget
billing/delete-budget 2 params → 200400404403500503
GET
/enterprises/{enterprise}/settings/billing/budgets/{budget_id}/user-states
Get user states for a multi-user budget
billing/get-budget-user-states 8 params → 200400404403500503
GET
/enterprises/{enterprise}/settings/billing/cost-centers
Get all cost centers for an enterprise
billing/get-all-cost-centers 2 params → 200400403500503
POST
/enterprises/{enterprise}/settings/billing/cost-centers
Create a new cost center
billing/create-cost-center 1 param body → 200400409500
GET
/enterprises/{enterprise}/settings/billing/cost-centers/memberships
Get cost center membership for a resource
billing/get-cost-center-membership 3 params → 200400403404500503
GET
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}
Get a cost center by ID
billing/get-cost-center 4 params → 200400403500503
PATCH
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}
Update a cost center
billing/update-cost-center 2 params body → 200400403404409422500503
DELETE
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}
Delete a cost center
billing/delete-cost-center 2 params → 200400404403500503
POST
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource
Add resources to a cost center
billing/add-resource-to-cost-center 2 params body → 200400403409500503
DELETE
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource
Remove resources from a cost center
billing/remove-resource-from-cost-center 2 params body → 200400403500503
GET
/enterprises/{enterprise}/settings/billing/premium_request/usage
Get billing premium request usage report for an enterprise
billing/get-github-billing-premium-request-usage-report-ghe 9 params → 200400403404500503
GET
/enterprises/{enterprise}/settings/billing/reports
List usage report exports
billing/list-usage-report-exports 1 param → 200401403404500503
POST
/enterprises/{enterprise}/settings/billing/reports
Create a usage report export
billing/create-usage-report-export 1 param body → 202400401403404500503
GET
/enterprises/{enterprise}/settings/billing/reports/{report_id}
Get a usage report export
billing/get-usage-report-export 2 params → 200401403404500503
GET
/enterprises/{enterprise}/settings/billing/usage
Get billing usage report for an enterprise
billing/get-github-billing-usage-report-ghe 5 params → 200400403500503
GET
/enterprises/{enterprise}/settings/billing/usage/summary
Get billing usage summary for an enterprise
billing/get-github-billing-usage-summary-report-ghe 9 params → 200400403500503
GET
/orgs/{org}/settings/billing/advanced-security
Get GitHub Advanced Security active committers for an organization
billing/get-github-advanced-security-billing-org 4 params → 200

Schemas 25

The contract defines 25 schemas that model the data the API accepts and returns. The most detailed are budget (11 properties), get-budget (10 properties), billing-usage-summary-report-ghe (8 properties), usage-report-export (8 properties). Each schema is shown below with its type and property counts.

billing-premium-request-usage-report-ghe
object
8 properties 3 required
budget
object
11 properties 7 required
billing-cost-center-membership
object
2 properties 2 required
advanced-security-active-committers-user
object
3 properties 3 required
basic-error
object
Basic Error
4 properties
get-budget
object
10 properties 8 required
usage-report-export
object
8 properties 5 required
update-cost-center
object
7 properties 3 required
get-all-cost-centers
object
1 property
billing-usage-report
object
1 property
billing-usage-summary-report-ghe
object
8 properties 3 required
advanced-security-active-committers-repository
object
3 properties 3 required
usage-report-export-request
object
4 properties 2 required
usage-report-export-list
object
1 property 1 required
delete-budget
object
2 properties 2 required
billing-ai-credit-usage-report-ghe
object
8 properties 3 required
validation-error
object
Validation Error
3 properties 2 required
get-cost-center
object
8 properties 3 required
update-budget
object
2 properties 2 required
scim-error
object
Scim Error
6 properties
get-budget-user-states
object
3 properties 3 required
get_all_budgets
object
5 properties 1 required
create-budget
object
2 properties 2 required
advanced-security-active-committers
object
5 properties 1 required
delete-cost-center
object
4 properties 4 required

Specification

The full machine-readable OpenAPI contract behind this narrative.

Source

github-enterprise-billing-api-openapi.yml Raw ↑

Other APIs GitHub Enterprise publishes across the network.

GitHub Enterprise Cloud GraphQL API
GitHub MCP Server
GitHub Enterprise Actions API
GitHub Enterprise Code Scanning API
GitHub Enterprise Admin API
GitHub Enterprise Issues API
GitHub Enterprise SCIM API
GitHub Enterprise Users API
GitHub Enterprise Activity API
GitHub Enterprise Agent Automations API
GitHub Enterprise Agent Merge API
GitHub Enterprise Agent Tasks API
Where this information came from

This is an independent, third-party profile of GitHub Enterprise Billing 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.