GitHub Enterprise Billing API
Monitor charges and usage from Actions and Packages.
Operations 23
GET
/enterprises/{enterprise}/settings/billing/advanced-security
Get GitHub Advanced Security active committers for an enterprise
#
GET
/enterprises/{enterprise}/settings/billing/ai_credit/usage
Get billing AI credit usage report for an enterprise
#
GET
/enterprises/{enterprise}/settings/billing/budgets/{budget_id}/user-states
Get user states for a multi-user budget
#
GET
/enterprises/{enterprise}/settings/billing/cost-centers
Get all cost centers for an enterprise
#
GET
/enterprises/{enterprise}/settings/billing/cost-centers/memberships
Get cost center membership for a resource
#
GET
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}
Get a cost center by ID
#
PATCH
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}
Update a cost center
#
DELETE
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}
Delete a cost center
#
POST
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource
Add resources to a cost center
#
DELETE
/enterprises/{enterprise}/settings/billing/cost-centers/{cost_center_id}/resource
Remove resources from a cost center
#
GET
/enterprises/{enterprise}/settings/billing/usage/summary
Get billing usage summary for an enterprise
#
GET
/orgs/{org}/settings/billing/advanced-security
Get GitHub Advanced Security active committers for an organization
#
Documentation
Documentation
https://docs.github.com/en/enterprise-cloud@latest/rest
RateLimits
https://docs.github.com/en/enterprise-cloud@latest/rest/using-the-rest-api/rate-limits-for-the-rest-api
Authentication
https://docs.github.com/en/enterprise-cloud@latest/rest/overview/authenticating-to-the-rest-api
Documentation
https://docs.github.com/en/enterprise-cloud@latest/graphql
Documentation
https://docs.github.com/en/enterprise-server@latest/rest
Documentation
https://docs.github.com/en/enterprise-server@latest/graphql
Specifications
Schemas & Data
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-full-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-app-permissions-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-team-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-full-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-minimal-repository-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-organization-schema.json
JSONSchema
https://artifacts.apis.io/github-enterprise/json-schema/github-enterprise-pull-request-schema.json