Create a new budget
Creates a new budget in the workspace. Exactly one scope variant must be set (workspace / project / identity / api_key / provider / model). At least one of limits.amount, limits.token_limit, or rate_limit.requests_per_minute MUST be provided. Uniqueness is enforced across (workspace_id, scope_kind, scope_target_id).
Request body
Response
OK
Changes
Changed in 11 of the 254 revisions of this API.2610
- ●
removed the request property
scope/allOf[BudgetScope]/factoryrequest-property-removed
- ●
removed the optional property
budget/allOf[BudgetRestResponse]/scope/allOf[BudgetScopeRestResponse]/factoryfrom the response with the200statusresponse-optional-property-removed
This revision also has 39 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
scope/allOf[BudgetScope]/factorynew-optional-request-property
- ○
added the optional property
budget/allOf[BudgetRestResponse]/scope/allOf[BudgetScopeRestResponse]/factoryto the response with the200statusresponse-optional-property-added
This revision also has 9 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ○
added the new optional request property
alertsnew-optional-request-property
- ○
added the optional property
budget/allOf[Budget]/alertsto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the request property
alertsrequest-property-removed
- ●
removed the optional property
budget/allOf[Budget]/alertsfrom the response with the200statusresponse-optional-property-removed
This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
alertsnew-optional-request-property
- ○
added the optional property
budget/allOf[Budget]/alertsto the response with the200statusresponse-optional-property-added
This revision also has 6 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ●
removed the request property
alertsrequest-property-removed
- ●
removed the optional property
budget/allOf[Budget]/alertsfrom the response with the200statusresponse-optional-property-removed
This revision also has 49 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ●
- ○
added the new optional request property
alertsnew-optional-request-property
- ○
added the optional property
budget/allOf[Budget]/alertsto the response with the200statusresponse-optional-property-added
- ○
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
- ▲
api path removed without deprecation
api-path-removed-without-deprecation
This revision also has 46 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ▲
- ○
endpoint added
endpoint-added
This revision also has 3 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○
Of the 254 revisions, 71 have no diff computed.