Override concurrency limit
Changed onOverride 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.
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
The limit's name
Request body
Response
Concurrency limit overridden successfully
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
objectto no type - breaking
added to the response body
oneOflist for the response status - breaking
the response's body type changed from
objectto 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 boundssubschema #2: Per-key capto the request bodyoneOflist
- breaking
- info
added the optional property
to the response with the status
- info