Billing

Create a usage budget

Changed on

Create a hard per-cycle USD budget for one supported fixed-unit product, or across all budgetable operations. Covered work reserves its exact charge before starting.

post/billing/budgets

Request

  • Base URL: https://api.sazabi.com/v1
  • URL: https://api.sazabi.com/v1/billing/budgets
  • Auth: none declared

Request body

organizationIdstring

Organization to create the budget for. Auto-filled from CLI and SDK context when omitted.

scopestring required

A budgetable product key, or "all_usage" for the overall rule across every budgetable product.

limitAmountstring required

Per-cycle USD limit; a positive decimal such as 250 or 99.50.

Response

OK

budgetIdstring required

Changes