Budgets

Reset budget consumption

Changed on

Clears the current-period cost, token, and request counters for the budget. The budget record itself is preserved. Requires a Management Key with the Budgets permission; project-scoped API keys cannot manage budgets.

post/v2/budgets/{budget_id}/reset-consumption

Request

  • Base URL
    https://my.orq.ai
  • URL
    https://my.orq.ai/v2/budgets/{budget_id}/reset-consumption
  • Auth
    HTTP bearer

Path parameters

budget_idstring required

Budget id whose current-period counters should be cleared.

Request body

ResetBudgetConsumptionRequest required

Response

OK

Changes

    • info

      added the non-success response with the status

    • info

      removed the BUDGET_ALERT_DIMENSION_UNSPECIFIED enum value from the /////// response property for the response status

    • info

      removed the BUDGET_PERIOD_UNSPECIFIED enum value from the ////// response property for the response status

    • warning

      added the new BUDGET_ALERT_DIMENSION_UNSPECIFIED enum value to the /////// response property for the response status

    • warning

      added the new BUDGET_PERIOD_UNSPECIFIED enum value to the ////// response property for the response status

    • info

      removed the non-success response with the status