Skip to main content
PUT
Error

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

application/json

Budget key and amount

amount
number
required
budget_key
object
required
alert_thresholds
integer[]

AlertThresholds overrides the default alert thresholds for this budget: percentages of the amount, each 1-100. Empty or omitted uses the defaults.

cost_basis
enum<string>

CostBasis selects the spend the amount limits: provider (default) or billed (provider cost plus markup, including billed cache hits). billed requires PRICING_MARKUPS_ENABLED and a GoModel Pro license with the billing entitlement.

Available options:
provider,
billed
per_child
boolean
scope
string
subject
string
user_path
string

Response

OK

alerts
object

Alerts describes soft budget alerts for the deployment.

budgets
object[]
server_time
string