concurrency-limits
Pause or resume a concurrency limit
Changed onPause 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.
post/api/v1/concurrency-limits/{name}/pause
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
namestring required
The limit's name
Request body
Response
Concurrency limit paused or resumed successfully
Example response
{
"id": "climit_abcdef123456",
"name": "openai",
"total": {
"current": 25,
"base": 25
},
"running": 14,
"queued": 100
}Changes
- info
endpoint added
- info