provider billing GET
/organizations/{org}/settings/billing/budgets @utdk/github
/organizations/{org}/settings/billing/budgets Get all budgets for an organization
> [!NOTE]
> This endpoint is in public preview and is subject to change.
Gets all budgets for an organization. The authenticated user must be an organization admin or billing manager.
Each page returns up to 10 budgets.
- org path required
- The organization name. The name is not case sensitive.
- string
- page query
- The page number of the results to fetch.
- integer
- per_page query
- The number of results per page (max 10).
- integer
- scope query
- Filter budgets by scope type.
- enum: enterprise, organization, repository, cost_center
Try it
Authentication
Configure credentials for GitHub v3 REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.
Saved automatically to browser storage.
Code snippet
Updates live as you fill in the form above.
TypeScript
import github from '@utdk/github';
await github.billing.getAllBudgetsOrg({
"page": 1,
"per_page": 10
})