Change the monthly limit of a budget, keeping its scope and this month’s usage.
Parameters
Name
In
Required
Description
budget_id
path
Yes
Budget ID. A budget you cannot manage is masked as missing and fails with resource-not-found (404).
Request body
Field
Type
Required
Description
monthly_limit_credits
number
Yes
New monthly AI spending limit in credits. Usage already recorded this month is retained; if the new limit is below it, the next call in the scope is rejected. At most 8589934591.999999 credits, with at most six decimal places.
Responses
Status
Description
200
Budget updated
400
Bad request
401
Unauthorized
403
API keys and runtime credentials are refused. A member cap cannot target the caller.