---
title: "Get environment by id"
method: GET
path: "/v1/private/environments/{id}"
tags: ["Environments"]
---

# Get environment by id

`GET /v1/private/environments/{id}`

Get environment by id

## Path parameters

- `id` string, uuid, required

## Response `200`

Environment

- EnvironmentPublic
  - `id` string, uuid
  - `name` string, required
  - `description` string
  - `color` string
  - `position` integer
  - `created_at` string, date-time
  - `created_by` string
  - `last_updated_at` string, date-time
  - `last_updated_by` string

## Other responses

- `404` — Not found

---

[API](https://skmtc.net/comet-ml/apis/opik-rest-api.md) · [All operations](https://skmtc.net/comet-ml/apis/opik-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/comet-ml/opik-rest-api/versions/4ed2fbc97cc3/schema)
