Retrieve Concurrency Limit
Retrieve a concurrency limit by name, with its bounds and live running and queued counts.
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, as declared with concurrencyLimit()
Response
Concurrency limit retrieved 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

