---
title: "Get environment by ID"
method: GET
path: "/environments/{environmentID}"
tags: ["api"]
---

# Get environment by ID

`GET /environments/{environmentID}`

Get test environment by ID from CRD in kubernetes cluster

## Other responses

- `200` — unresolved $ref

## Changes

- **2024-05-21** `ab4a3143f69e` — 1 info
  - endpoint added
- **2022-11-17** `9ee6203c38fa` — 1 breaking, 2 info
  - added the new path request parameter `environmentId`
  - added the media type `application/json` for the response with the status `200`
  - added the non-success response with the status `500`

[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-service-production.skmtc.workers.dev/v1/apis/kubeshop/tracetest/revisions/fad7f202ff22/schema)
