🛠️

Find Copilot AI-credit overages before one user drains a shared budget

GitHub’s new REST endpoint lets enterprise billing teams pull per-user states for multi-user budgets instead of checking every user one by one.

Original
Jul 10, 2026
Status & Access
Current access and latest update details.
Access
Free
Updated
Jul 10, 2026, 10:31 PM

GitHub added a REST endpoint for enterprise owners and billing managers who need to monitor multi-user budgets, including AI-credit and premium-request budgets.

What it does

The endpoint returns per-user budget state for a multi-user customer scoped budget. Teams can page through users, filter by a specific user, sort results, and filter by threshold percentages so they can find people who are close to a limit without building one API call per user.

Who should use it

Use this if your organization runs GitHub Copilot or other GitHub metered products under enterprise budgets and needs faster spend checks across many users or cost centers.

How to evaluate it

  • Confirm your account is a GitHub Enterprise Cloud enterprise owner or billing manager.
  • Check whether the budget is a multi-user customer scoped budget.
  • Test threshold filters against a non-critical budget before wiring alerts.
  • Decide whether you need separate monitoring for user overrides, because the response can include an override budget ID.

Limits and risks

The docs state that this endpoint does not work with GitHub App user tokens, GitHub App installation tokens, or fine-grained personal access tokens. Treat the required enterprise billing credentials as sensitive, and do not put the token in client-side scripts or shared dashboards.

Sources

Discussion

Sign in to join the discussion and vote on comments.

No comments yet. Start the discussion.
Keep exploring

More from this topic

More in Tools & Apps