queues
Retrieve a queue
Changed onGet a queue by its ID, or by type and name.
get/api/v1/queues/{queueParam}
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 query parameter.
Query parameters
type'id' | 'task' | 'custom'
How to interpret the queueParam path parameter:
- id: Treat as a queue ID (default)
- task: Treat as a task ID to get the task's default queue
- custom: Treat as a custom queue name
Response
Successful request
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