The enterprise billing budgets endpoint returns budget_type: "BundlePricing" for AI credit
budgets, but the model only allows two values, so .parsed_data raises.
budget_type: Literal["SkuPricing", "ProductPricing"] # githubkit model
"budget_type": "BundlePricing" # GitHub response
Endpoint: GET /enterprises/{enterprise}/settings/billing/budgets (ghec-2026-03-10).
The request body models already accept BundlePricing; only the response model was left out.
Workaround today is reading .json() instead of .parsed_data, which loses the typing.
The enterprise billing budgets endpoint returns
budget_type: "BundlePricing"for AI creditbudgets, but the model only allows two values, so
.parsed_dataraises.Endpoint:
GET /enterprises/{enterprise}/settings/billing/budgets(ghec-2026-03-10).The request body models already accept
BundlePricing; only the response model was left out.Workaround today is reading
.json()instead of.parsed_data, which loses the typing.master