---
title: "Lists all of the registered worker machines in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name."
method: GET
path: "/{spaceId}/workers"
tags: ["Workers"]
---

# Lists all of the registered worker machines in the supplied Octopus Deploy Space. The results will be sorted alphabetically by name.

`GET /{spaceId}/workers`

## Path parameters

- `spaceId` string, required

## Query parameters

- `commStyles` string[]
- `healthStatuses` string[]
- `ids` string[]
- `isDisabled` boolean
- `name` string
- `operatingSystemNames` string[]
- `partialName` string
- `shellNames` string[]
- `skip` integer
- `take` integer
- `workerPoolIds` string[]

## Response `200`

A paginated list of Workers

- WorkerResourceCollection
  - `Id` string
  - `Items` WorkerResource[]
    - `Architecture` string
    - `Endpoint` EndpointResource
      - `CommunicationStyle` 'None' | 'TentaclePassive' | 'TentacleActive' | 'Ssh' | 'OfflineDrop' | 'AzureWebApp' | 'Ftp' | 'AzureCloudService' | 'AzureServiceFabricCluster' | 'Kubernetes' | 'StepPackage' | 'KubernetesTentacle' | 'AwsEcsCluster'
      - `Id` string
      - `LastModifiedBy` string
      - `LastModifiedOn` string, date-time
      - `Links` object
    - `HasLatestCalamari` boolean
    - `HealthStatus` 'Healthy' | 'Unavailable' | 'Unknown' | 'HasWarnings' | 'Unhealthy'
    - `Id` string
    - `IsDisabled` boolean
    - `IsInProcess` boolean
    - `LastModifiedBy` string
    - `LastModifiedOn` string, date-time
    - `Links` object
    - `MachinePolicyId` string
    - `Name` string
    - `OperatingSystem` string
    - `OperatingSystemVersion` string
    - `ShellName` string
    - `ShellVersion` string
    - `SkipInitialHealthCheck` boolean
    - `Slug` string
    - `SpaceId` string
    - `StatusSummary` string
    - `Thumbprint` string
    - `Uri` string
    - `WorkerPoolIds` string[]
  - `ItemsPerPage` integer
  - `ItemType` string
  - `LastModifiedBy` string
  - `LastModifiedOn` string, date-time
  - `LastPageNumber` integer
  - `Links` object
  - `NumberOfPages` integer
  - `TotalResults` integer

## Other responses

- `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)
