Skip to main content
GET /api/v1/projects/{project_id}/environments/{id} Requires environments.read permission.

Path parameters

project_id
string
required
UUID of the project.
id
string
required
UUID of the environment.

Response

environment
object
required
The requested environment.

Errors

StatusWhen
400Invalid path parameter format
401Missing or invalid Bearer token
404Project or environment not found

Example

curl http://localhost:8080/api/v1/projects/p1b2c3d4-e5f6-7890-abcd-ef1234567890/environments/e1b2c3d4-e5f6-7890-abcd-ef1234567890 \
  -H "Authorization: Bearer <token>"
{
  "environment": {
    "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