Update API key budget

Updates (creates or replaces) the budget limit for an API key.
All organization members can manage budget limits.

Recent Requests
Log in to see full request history
TimeStatusUser Agent
Retrieving recent requests…
LoadingLoading…
Path Params
string
required

The ID of the organization that owns the API key.

string
required

The ID of the API key whose budget is being updated.

Body Params

APIKeyBudgetConfig holds the mutable budget settings sent on write operations.

string

Maximum allowed spend in USD across all providers.

providerBudgets
array of objects

Optional per-provider budget entries. When set, individual provider limits
are enforced in addition to the total budget.

providerBudgets
Responses

Language
Credentials
URL
LoadingLoading…
Response
Click Try It! to start a request and see the response here! Or choose an example:
application/json