---
title: "Gets the environment custom settings metadata from the extensions."
method: GET
path: "/{spaceId}/environments/{environmentId}/metadata"
tags: ["Environments"]
---

# Gets the environment custom settings metadata from the extensions.

`GET /{spaceId}/environments/{environmentId}/metadata`

## Path parameters

- `spaceId` string, required
- `environmentId` string, required

## Response `200`

The requested Environment Metadata

- DeploymentEnvironmentSettingsMetadata[]
  - `ExtensionId` string
  - `Metadata` Metadata
    - `Description` string
    - `Types` TypeMetadata[]
      - `Name` string
      - `Properties` PropertyMetadata[]
        - `DisplayInfo` DisplayInfo
          - `Category` string
          - `ConnectivityCheck` ConnectivityCheck
            - `DependsOnPropertyNames` string[]
            - `Title` string
            - `Url` string
          - `Description` string
          - `ExtendedDescription` string
          - `Label` string
          - `ListApi` ListApiMetadata
            - `ApiEndpoint` string
            - `SelectMode` string
          - `Options` OptionsMetadata
            - `SelectMode` string
            - `Values` object
          - `PropertyApplicability` PropertyApplicability
            - `DependsOnPropertyName` string
            - `DependsOnPropertyValue` unknown
            - `Mode` 'ApplicableIfHasAnyValue' | 'ApplicableIfHasNoValue' | 'ApplicableIfSpecificValue' | 'ApplicableIfNotSpecificValue'
          - `ReadOnly` boolean
          - `Required` boolean
          - `ShowCopyToClipboard` boolean
        - `Name` string
        - `Type` string

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