---
title: "List all environments, including a summary of machine information"
method: GET
path: "/environments/summary"
tags: ["Environments"]
---

# List all environments, including a summary of machine information

`GET /environments/summary`

## Query parameters

- `commStyles` string[]
- `deploymentTargetTypes` string[]
- `environmentTags` string[]
- `healthStatuses` string[]
- `hideEmptyEnvironments` boolean
- `ids` string[]
- `isDisabled` boolean
- `machinePartialName` string
- `partialName` string
- `roles` string[]
- `shellNames` string[]
- `targetTags` string[]
- `tenantIds` string[]
- `tenantTags` string[]

## Response `200`

Contains the machines et al associated with a given environment.

- EnvironmentsSummaryResource
  - `DeploymentTargetSummaries` object
  - `EnvironmentSummaries` EnvironmentSummaryResource[]
    - `DeploymentTargetSummaries` object
    - `Environment` EnvironmentResource
      - `AllowDynamicInfrastructure` boolean — If set to true, deployments to this environment will be allowed to contain steps that manage infrastructure. This relies on DeploymentActionResource being set to allow managing resource for a step
      - `Description` string — Gets or sets a short description of this environment that can be used to explain the purpose of the environment to other users. This field may contain markdown.
      - `EnvironmentTags` string[] — List of tags assigned to this environment
      - `ExtensionSettings` ExtensionSettingsValues[]
        - `ExtensionId` string
        - `Values` unknown
      - `Id` string — Gets or sets a unique identifier for this resource.
      - `LastModifiedBy` string — Gets or sets the username of the user who last modified this resource.
      - `LastModifiedOn` string, date-time — Gets or sets the date/time that this resource was last modified.
      - `Links` object — Gets or sets a dictionary of links to other related resources. These links can be used to navigate the resources on the server.
      - `Name` string — Gets or sets the name of this environment. This should be short, preferably 5-20 characters.
      - `Slug` string
      - `SortOrder` integer — Gets or sets a number indicating the priority of this environment in sort order. Environments with a lower sort order will appear in the UI before items with a higher sort order.
      - `SpaceId` string
      - `UseGuidedFailure` boolean — If set to true, deployments will prompt for manual intervention (Fail/Retry/Ignore) when failures are encountered in activities that support it. May be overridden with the Octopus.UseGuidedFailure special variable.
    - `MachineEndpointSummaries` object
    - `MachineHealthStatusSummaries` object
    - `MachineIdsForCalamariUpgrade` string[]
    - `MachineIdsForTentacleUpgrade` string[]
    - `MachineTenantSummaries` object
    - `MachineTenantTagSummaries` object
    - `TentacleUpgradesRequired` boolean
    - `TotalDisabledMachines` integer
    - `TotalMachines` integer
  - `MachineEndpointSummaries` object
  - `MachineHealthStatusSummaries` object
  - `MachineIdsForCalamariUpgrade` string[]
  - `MachineIdsForTentacleUpgrade` string[]
  - `MachineTenantSummaries` object
  - `MachineTenantTagSummaries` object
  - `TentacleUpgradesRequired` boolean
  - `TotalDisabledMachines` integer
  - `TotalMachines` 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/revisions/b296c3a60aa5/schema)
