Create a new budget
Changed onCreates 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). Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.
Request
- Base URLhttps://my.orq.ai
- URLhttps://my.orq.ai/v2/budgets
- AuthHTTP bearer
Request body
Response
OK
Changes
- breaking
removed the enum value
BUDGET_ALERT_DIMENSION_UNSPECIFIEDof the request property// - breaking
removed the enum value
BUDGET_PERIOD_UNSPECIFIEDof the request property///// - info
added the non-success response with the status
- info
removed the
BUDGET_ALERT_DIMENSION_UNSPECIFIEDenum value from the///////response property for the response status - info
removed the
BUDGET_PERIOD_UNSPECIFIEDenum value from the//////response property for the response status
- breaking
- warning
added the new
BUDGET_ALERT_DIMENSION_UNSPECIFIEDenum value to the///////response property for the response status - warning
added the new
BUDGET_PERIOD_UNSPECIFIEDenum value to the//////response property for the response status - info
added the new
BUDGET_ALERT_DIMENSION_UNSPECIFIEDenum value to the request property// - info
added the new
BUDGET_PERIOD_UNSPECIFIEDenum value to the request property///// - info
removed the non-success response with the status
- warning