Skip to main content
GET
/
api
/
v1
/
environments
/
{slug}
Get environment by slug
curl --request GET \
  --url https://api.devhelm.io/api/v1/environments/{slug} \
  --header 'Authorization: Bearer <token>'
{
  "data": {
    "id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
    "orgId": 123,
    "name": "<string>",
    "slug": "<string>",
    "variables": {},
    "createdAt": "2023-11-07T05:31:56Z",
    "updatedAt": "2023-11-07T05:31:56Z",
    "monitorCount": 123,
    "isDefault": true
  }
}

Authorizations

Authorization
string
header
required

API key (dh_live_...) or Auth0 JWT token

Path Parameters

slug
string
required

Response

200 - */*

OK

data
object

Environment with variable substitutions for monitor configs