---
title: "Work Queue Check For Deployment"
method: GET
path: "/api/deployments/{id}/work_queue_check"
tags: ["Deployments"]
deprecated: true
---

# Work Queue Check For Deployment

`GET /api/deployments/{id}/work_queue_check`

> **Deprecated.**

Get list of work-queues that are able to pick up the specified deployment.

This endpoint is intended to be used by the UI to provide users warnings
about deployments that are unable to be executed because there are no work
queues that will pick up their runs, based on existing filter criteria. It
may be deprecated in the future because there is not a strict relationship
between work queues and deployments.

## Path parameters

- `id` string, uuid, required — The deployment id

## Headers

- `x-prefect-api-version` string

## Response `200`

Successful Response

- WorkQueue[]
  - `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.

## Other responses

- `422` — Validation Error

---

[API](https://skmtc.net/prefecthq/apis/untitled-api-2.md) · [All operations](https://skmtc.net/prefecthq/apis/untitled-api-2/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/prefecthq/untitled-api-2/revisions/29ba6c4f8837/schema)
