---
title: "Get a specific Static, Parent or Ephemeral Environment by ID"
method: GET
path: "/spaces/{spaceIdentifier}/environments/{id}/v2"
tags: ["Environments"]
---

# Get a specific Static, Parent or Ephemeral Environment by ID

`GET /spaces/{spaceIdentifier}/environments/{id}/v2`

## Path parameters

- `spaceIdentifier` string, required
- `id` string, required

## Response `200`

The requested Static, Parent or Ephemeral Environment

- BaseEnvironmentV2Resource
  - `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
  - `Id` string, required
  - `Name` string, required — Gets or sets the name of this environment. This should be short, preferably 5-20 characters.
  - `Slug` string, required
  - `SpaceId` string, required
  - `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/revisions/b296c3a60aa5/schema)
