Skip to main content
Opik Documentation

Search documentation

Type to search this documentation.

Find environments

GET/v1/private/environmentsFind environments

Find environments for the workspace. Capped at the workspace limit (default 20).

Responses

200Environments pageapplication/json
objectEnvironmentPage_Public
contentarray of object
Show child attributes
Show array items
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
pageinteger · int32
sizeinteger · int32
sortableByarray of string
Show child attributes
totalinteger · int64
Example response
{
  "content": [
    {
      "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
    }
  ],
  "page": 0,
  "size": 0,
  "sortableBy": [
    "string"
  ],
  "total": 0
}
Documentation menu