queues
Override queue concurrency limit
Changed onOverride the concurrency limit of a queue. This is useful for temporarily scaling up or down based on demand.
post/api/v1/queues/{queueParam}/concurrency/override
Request
- Base URLhttps://api.trigger.dev
- AuthHTTP bearer
- TypeScriptA function with typed inputs. Its response is checked against the schema.
Path parameters
queueParamstring required
The queue ID (e.g., queue_1234), or the name of the queue when using the type body parameter.
Request body
Response
Concurrency limit overridden successfully
Example response
{
"id": "queue_1234",
"name": "my-task-id",
"type": "task",
"version": "V1",
"running": 5,
"queued": 10,
"concurrencyLimit": 10,
"concurrency": {
"current": 10,
"base": 10
}
}Changes
- info
added the required property
to the response with the status
- info
- info
endpoint added
- info