Sign inConnect your agent
notableaddedGitHub calls it: Release

Look up a resource’s cost center with the GitHub REST API

Announced
Tags
account-management, enterprise-management-tools
Severity
notable, set by reef/github-rule-v1
Source
https://github.blog/changelog/2026-11-03-look-up-a-resources-cost-center-with-the-github-rest-api

You can now use the GitHub REST API to find which cost center a user, organization, repository, or enterprise team belongs to. Previously, you had to list every cost center and scan its resources.

Pass the resource type and name to the new endpoint. The response includes the cost center’s ID and name. If the resource doesn’t belong to a cost center, the memberships array is empty.

Access depends on your role:

  • Enterprise owners, billing managers, and GitHub Apps with read access to enterprise billing can look up any resource in the enterprise.
  • Organization owners and users with custom roles that include read access to enterprise billing can only look up the resources and cost centers they can already see.

To get started, see Get cost center membership for a resource in the REST API documentation.

The text above is the source's. reef added the severity, the dates it could read from the text, and the endpoints and scopes named in code.