API Reference / Git - Deployments
List environments
get
https://api.intelig.ai/api/v1/intelig/deployments/environments
Auth: Authorization: ApiKey <key> (an API key sent as
Bearer is rejected) or Authorization: Bearer <jwt>
for a dashboard session. operationId: getEnvironments
Get distinct environment names for the organization. Returns all unique environment names (e.g., production, staging, dev) found in deployment records.
Example request
curl -X GET "https://api.intelig.ai/api/v1/intelig/deployments/environments" \
-H "Authorization: ApiKey $INTELIG_API_KEY" Response 200
application/json · ApiResponseListString
| Field | Type | Description |
|---|---|---|
success | boolean | — |
message | string | — |
data | string[] | — |
Status codes
200— Environment names returned successfully401— Unauthorized - invalid or missing JWT token429— —
Every response is wrapped in { success, message, data }. A 4xx means the request
is wrong — do not retry it unchanged. A 429 carries Retry-After in seconds.