---
title: "Read Work Queue By Name"
method: GET
path: "/api/work_queues/name/{name}"
tags: ["Work Queues"]
---

# Read Work Queue By Name

`GET /api/work_queues/name/{name}`

## Request

- The document declares no server URL.
- Auth: none declared

Get a work queue by id.

## Path parameters

- `name` string, required: The work queue name

## Headers

- `x-prefect-api-version` string

## Response `200`

Successful Response

- WorkQueueResponse: An ORM representation of a work queue
  - `id` string, uuid
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required: The name of the work queue.
  - `description` string: An optional description for the work queue.
  - `is_paused` boolean: Whether or not the work queue is paused.
  - `concurrency_limit` integer: An optional concurrency limit for the work queue.
  - `priority` integer: The queue's priority. Lower values are higher priority (1 is the highest).
  - `work_pool_id` string, uuid: The work pool with which the queue is associated.
  - `filter` QueueFilter: Filter criteria definition for a work queue.
    - `tags` string[]: Only include flow runs with these tags in the work queue.
    - `deployment_ids` string[]: Only include flow runs from these deployments in the work queue.
  - `last_polled` string, date-time: The last time an agent polled this queue for work.
  - `work_pool_name` string: The name of the work pool the work pool resides within.
  - `status` 'READY' | 'NOT_READY' | 'PAUSED': Enumeration of work queue statuses.

## Other responses

- `422`: Validation Error

## Changes

- **2024-02-08** `00512a1ecb66`: 1 info
  - added the optional property `status` to the response with the `200` status

[Operation history](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/changes/api/work_queues/name/:name/get.md)

---

[API](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api.md) - [All operations](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/llms.txt) - [OpenAPI document](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/revisions/29ba6c4f8837?raw)
