concurrency-limits

Override concurrency limit

Changed on

Override a concurrency limit's bounds. Only the given fields change; the declared values are kept and restored by reset. To stop runs holding a limit, prefer the pause endpoint (it keeps the configured bounds); overriding total to 0 also blocks every run holding the limit.

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

Request

Path parameters

namestring required

The limit's name

Request body

OR

Response

Concurrency limit overridden successfully

OR

Example response

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

Changes

    • breaking

      the request's body type changed from object to no type

    • 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 request property

    • warning

      removed the request property

    • warning

      removed the optional property from the response with the status

    • info

      added subschema #1: Limit bounds subschema #2: Per-key cap to the request body oneOf list

    • info

      added the optional property to the response with the status