Skip to main content

Reset a token budget

POST 

/apis/cra.diagrid.io/v1beta1/projects/:ProjectId/tokenbudgets/:ProjectSubresourceId/reset

Reset a token budget's usage. Starts a new counting epoch for the budget: once the change reaches the dataplane, consumption in the current window restarts from zero and the reported utilization is absent until the budget next handles a request. The budget's spec is otherwise unchanged.

Request​

Responses​

TokenBudget usage reset accepted for asynchronous processing.