provider billing GET
/organizations/{org}/settings/billing/budgets/{budget_id} @utdk/github
/organizations/{org}/settings/billing/budgets/{budget_id} Get a budget by ID for an organization
> [!NOTE]
> This endpoint is in public preview and is subject to change.
Gets a budget by ID. The authenticated user must be an organization admin or billing manager.
- org path required
- The organization name. The name is not case sensitive.
- string
- budget_id path required
- The ID corresponding to the budget.
- string
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.getBudgetOrg()