---
title: "Create Work Pool"
method: POST
path: "/api/work_pools/"
tags: ["Work Pools"]
---

# Create Work Pool

`POST /api/work_pools/`

## Request

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

Creates a new work pool. If a work pool with the same
name already exists, an error will be raised.

## Headers

- `x-prefect-api-version` string

## Request body

- WorkPoolCreate: Data used by the Prefect REST API to create a work pool.
  - `name` string, required: The name of the work pool.
  - `description` string: The work pool description.
  - `type` string: The work pool type.
  - `base_job_template` object: The work pool's base job template.
  - `is_paused` boolean: Pausing the work pool stops the delivery of all work.
  - `concurrency_limit` integer: A concurrency limit for the work pool.

## Response `201`

Successful Response

- WorkPool: An ORM representation of a work pool
  - `id` string, uuid
  - `created` string, date-time
  - `updated` string, date-time
  - `name` string, required: The name of the work pool.
  - `description` string: A description of the work pool.
  - `type` string, required: The work pool type.
  - `base_job_template` object: The work pool's base job template.
  - `is_paused` boolean: Pausing the work pool stops the delivery of all work.
  - `concurrency_limit` integer: A concurrency limit for the work pool.
  - `status` 'READY' | 'NOT_READY' | 'PAUSED': Enumeration of work pool statuses.
  - `default_queue_id` string, uuid: The id of the pool's default queue.

## Other responses

- `422`: Validation Error

## Changes

- **2024-04-03** `93ae2b3f2efd`: 1 breaking
  - the request property `name` became required

[Operation history](https://skmtc.dev/prefecthq/apis/prefect-unreleased-api/changes/api/work_pools/post.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)
