v1

latestOpenAPI 3.1.02026-08-04134182237.9 KB
Billing

Set Enterprise Budget

Set or update a monthly budget for an enterprise API key.

Budget is a soft cap (alerts only); hard limit is admin-set credit_limit_usd. Pass monthly_budget_usd=null to remove the budget (unlimited spending).

put/api/billing/enterprise/budget

Headers

X-API-Keystring nullable

Request body

api_key_idstring required

API key UUID to update

monthly_budget_usdnumber nullable

Monthly budget in USD. Set to null/None to remove budget (unlimited).

Response

Successful Response

successboolean
messagestring nullable
api_key_idstring nullable

API key UUID

api_key_namestring nullable

API key name

monthly_budget_usdnumber nullable

Monthly budget (null = unlimited)

current_month_usage_usdnumber nullable

Current month's usage

budget_utilization_percentnumber nullable

Percentage of budget used (null if no budget)

is_over_budgetboolean

Whether current usage exceeds budget