Skip to main content
GET /api/v1/projects/{project_id}/environments Requires a valid Bearer token.

Path parameters

project_id
string
required
UUID of the project.

Response

environments
Environment[]
required
Array of environments in the project.

Errors

StatusWhen
401Missing or invalid Bearer token

Example

curl http://localhost:8080/api/v1/projects/p1b2c3d4-e5f6-7890-abcd-ef1234567890/environments \
  -H "Authorization: Bearer <token>"
{
  "environments": [
    {
      "id": "e1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "project_id": "p1b2c3d4-e5f6-7890-abcd-ef1234567890",
      "key": "production",
      "name": "Production",
      "description": "Production environment",
      "created_at": "2026-01-15T09:00:00Z",
      "updated_at": "2026-01-15T09:00:00Z"
    }
  ]
}

Build docs developers (and LLMs) love