---
title: "Get a specific environment"
method: GET
path: "/environments/{envId}"
tags: ["Installation"]
---

# Get a specific environment

`GET /environments/{envId}`

## Request

- Base URL: `/management/v2` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/management/v2/environments/{envId}`
- Auth: one of:
  - HTTP basic
  - API key in cookie `Auth-Graviteeio-APIM`

Get a specific environment.

User must be authenticated.

## Response `200`

An environment

- Environment
  - `id` string: Environment's uuid.
  - `name` string: Environment's name. Duplicate names can exists.
  - `description` string: Environment's description. A short description of your Environment.

## Other responses

- `default`: Generic error response

## Changes

- **2024-04-18** `88664aaa8dd8`: 1 breaking
  - the `details/items/invalidValue` response's property type changed from `object` to no type for status `default`

[Operation history](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation/changes/environments/:envId/get.md)

---

[API](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation.md) - [All operations](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation/llms.txt) - [OpenAPI document](https://skmtc.dev/gravitee-io/apis/gravitee-io-apim-management-api-installation/revisions/adff27ddef52?raw)
