---
title: "Get a specific environment"
method: GET
path: "/environments/{environmentId}"
tags: ["resource-api"]
---

# Get a specific environment

`GET /environments/{environmentId}`

Get one environment by its id

## Parameters

- `./parameters.yaml#/components/parameters/environmentId` — unresolved $ref

## Response `200`

successful operation

- EnvironmentResource — unresolved $ref

## Other responses

- `404` — environment not found
- `500` — problem getting an environment

## Changes

- **2023-05-02** `356fe46f6721` — 1 warning, 4 info
  - deleted the `path` request parameter `environmentId`
  - api tag `resource-api` added
  - api tag `api` removed
  - added the media type `text/yaml` for the response with the status `200`
  - …1 more

[Change history](https://skmtc.dev/kubeshop/apis/tracetest/changes/environments/:environmentId/get.md)

---

[API](https://skmtc.dev/kubeshop/apis/tracetest.md) · [All operations](https://skmtc.dev/kubeshop/apis/tracetest/llms.txt) · [OpenAPI document](https://skmtc.dev/kubeshop/apis/tracetest/revisions/2838b8abc6e6?raw)
