concurrency-limits

Reset concurrency limit

Changed on

Reset a concurrency limit back to the values declared in your code, clearing any override. With a concurrencyKey in the body, clear that key's per-key override instead and leave the limit itself alone.

post/api/v1/concurrency-limits/{name}/reset

Request

Path parameters

namestring required

The limit's name

Request body

concurrencyKeystring

Clear the per-key override for this concurrencyKey only.

Response

Concurrency limit reset successfully

OR

Example response

{
  "id": "climit_abcdef123456",
  "name": "openai",
  "total": {
    "current": 25,
    "base": 25
  },
  "running": 14,
  "queued": 100
}

Changes

    • breaking

      added to the response body oneOf list for the response status

    • breaking

      the response's body type changed from object to no type for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      removed the optional property from the response with the status

    • info

      added optional request body

    • info

      added the optional property to the response with the status