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.
Body
- Limit bounds
- Per-key cap
Override the limit itself. At least one of perKey or total must be provided.
Response
Concurrency limit overridden successfully
- Option 1
- Option 2

