Skip to main content
GET
http://localhost:3000
/
environments
/
{id}
curl -X GET 'https://api.example.com/environments/environment_prod' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "id": "environment_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
  "tenantId": "tenant_acme",
  "projectId": "project_api",
  "scopeId": "scope_env_prod",
  "name": "Production"
}

Path Parameters

id
string
required
The environment ID

Response

Returns the environment object.
curl -X GET 'https://api.example.com/environments/environment_prod' \
  -H 'Authorization: Bearer YOUR_TOKEN'
{
  "id": "environment_0190a1b2-c3d4-7e5f-8a9b-0c1d2e3f4a5b",
  "tenantId": "tenant_acme",
  "projectId": "project_api",
  "scopeId": "scope_env_prod",
  "name": "Production"
}