Pause or Resume Concurrency Limit
Pause a concurrency limit to prevent runs holding it from starting, or resume a paused limit. Runs that are currently executing will continue to completion, and the limit’s configured bounds are kept.
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
Whether to pause or resume the limit
pause, resume Response
Concurrency limit paused or resumed 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

