Update or disable a budget
Authentication
AuthorizationBearer
An AgentRouter API key or an OAuth access token issued to an MCP host or the CLI.
Path parameters
budget_id
Request
This endpoint expects an object.
name
scope
Allowed values:
scope_ref
Key id or session id for key and session budgets.
period
Allowed values:
limit_usd
Spend limit per period.
per_call_max_usd
Caps max_cost_usd for every call in scope.
status
Allowed values:
Response
The budget
budget_id
name
scope
Allowed values:
scope_ref
period
Allowed values:
limit_usd
per_call_max_usd
status
Allowed values:
created_at
Errors
404
Not Found Error