Override Concurrency Limit
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.
Authorizations
Use a named environment API key. It starts with tr_dev_sk_, tr_prod_sk_, tr_stg_sk_, etc.
Create a named API key in the API Keys section of your Trigger.dev project dashboard. Choose the narrowest access preset that supports your integration.
Our TypeScript SDK will default to using the value of the TRIGGER_SECRET_KEY environment variable if it is set. If you are using the SDK in a different environment, you can set the key using the configure function.
Path Parameters
The limit's name
Body
At least one of perKey or total must be provided.
Caps each concurrencyKey pool; runs without a key share one pool. May not exceed the environment concurrency limit.
0 <= x <= 100000Caps every run holding this limit, keys or not. May not exceed the environment concurrency limit.
0 <= x <= 100000Response
Concurrency limit overridden successfully
The limit's id, starting with climit_
"climit_abcdef123456"
The limit's name, as declared with concurrencyLimit()
"openai"
Caps each concurrencyKey pool; runs without a key share one pool
Caps every run holding this limit, keys or not
Runs executing that hold this limit
14
Runs that are queued and must clear this limit to execute
100
Whether the limit is paused. A paused limit admits no runs until resumed; its configured bounds are kept.
false

