GET /orgs/{org}/settings/billing/budgets returns 400 "Unable to get budgets." for orgs with user-scoped Copilot budgets #206489
Unanswered
qsc-venkatkondisetti
asked this question in
Apps, API and Webhooks
Replies: 1 comment
|
💬 Your Product Feedback Has Been Submitted 🎉 Thank you for taking the time to share your insights with us! Your feedback is invaluable as we build a better GitHub experience for all our users. Here's what you can expect moving forward ⏩
Where to look to see what's shipping 👀
What you can do in the meantime 💻
As a member of the GitHub community, your participation is essential. While we can't promise that every suggestion will be implemented, we want to emphasize that your feedback is instrumental in guiding our decisions and priorities. Thank you once again for your contribution to making GitHub even better! We're grateful for your ongoing support and collaboration in shaping the future of our platform. ⭐ |
0 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Uh oh!
There was an error while loading. Please reload this page.
🏷️ Discussion Type
Bug
💬 Feature/Topic Area
API
Body
Since 21 August 2026, this endpoint has returned 400 {"message":"Unable to get budgets."} for our organisation. 469 consecutive failures, no successful call in 11 days.
We've isolated it to user-scoped budgets. Filtering the enterprise endpoint by scope:
Scope total_count Returned
repository 1 1 ✅
organization 1 1 ✅
user 183 0 ❌
Larger page sizes return 500/502 rather than an empty array, which suggests an unhandled exception rather than validation.
Within our enterprise, organisations holding user-scoped budgets return 400; those with only repository/organization scoped budgets return 200 normally. Same token, same moment.
Sibling endpoints are unaffected: /copilot/billing, /settings/billing/usage and /settings/billing/cost-centers all return 200.
Impact for us: this is the only API that exposes per-user Copilot consumed_amount, so our automated budget alerting for 379 seats has been disabled for 11 days. The enterprise endpoint is not a substitute — its budget objects contain no consumed_amount field at all.
Support ticket raised; engineering are aware. Posting here to find out whether others are affected — if you use per-user Copilot budgets and read them via the API, could you check whether this endpoint works for you?
All reactions