---
title: "Get a list of Worker Pools."
method: GET
path: "/{spaceId}/workerpools/all"
tags: ["WorkerPools"]
---

# Get a list of Worker Pools.

`GET /{spaceId}/workerpools/all`

Lists the name and ID of of the Worker Pools in the supplied Octopus Deploy Space. The results will be sorted by the `SortOrder` field on each Worker Pool.

## Path parameters

- `spaceId` string, required

## Query parameters

- `ids` string[]

## Response `200`

The list of requested Worker Pools

- WorkerPoolResource[]
  - `CanAddWorkers` boolean
  - `Description` string
  - `Id` string
  - `IsDefault` boolean
  - `LastModifiedBy` string
  - `LastModifiedOn` string, date-time
  - `Links` object
  - `Name` string
  - `Slug` string
  - `SortOrder` integer
  - `SpaceId` string
  - `WorkerPoolType` 'StaticWorkerPool' | 'DynamicWorkerPool'

## Other responses

- `304` — Not Modified
- `400` — Bad request. Either the payload was not structurally valid or business rules did not permit the operation.
- `404` — Not found. One or more of the entities involved in the operation was not found.

---

[API](https://skmtc.net/octopus/apis/octopus-server-api.md) · [All operations](https://skmtc.net/octopus/apis/octopus-server-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/octopus/octopus-server-api/versions/bc9158facfc7/schema)
