Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Get environment by id

GET/v1/private/environments/{id}Get environment by id

Get environment by id

Parameters

idstring · uuidpathrequired

Responses

200Environmentapplication/json
objectEnvironment_Public
colorstring

maxLength 20 · minLength 0

created_atstring · date-time
created_bystring
descriptionstring

maxLength 500 · minLength 0

idstring · uuid
last_updated_atstring · date-time
last_updated_bystring
namestringrequired

maxLength 150 · minLength 0 · pattern ^[A-Za-z0-9_-]+$

positioninteger · int32
Example response
{
  "color": "string",
  "created_at": "2026-06-09T00:00:00Z",
  "created_by": "string",
  "description": "string",
  "id": "00000000-0000-0000-0000-000000000000",
  "last_updated_at": "2026-06-09T00:00:00Z",
  "last_updated_by": "string",
  "name": "string",
  "position": 0
}
404Not foundapplication/json
objectErrorMessage_Public
codeinteger · int32
detailsstring
messagestring
Example response
{
  "code": 0,
  "details": "string",
  "message": "string"
}
Documentation menu