v7

latestOpenAPI 3.0.3raw.githubusercontent.com2026-08-013764062.2 MB
Environments

Get all environments

Retrieves all environments that exist in this Unleash instance.

get/api/admin/environments

Response

environmentsSchema

versioninteger required

Version of the environments schema

Example response

{
  "version": 1,
  "environments": [
    {
      "name": "my-dev-env",
      "type": "development",
      "enabled": true,
      "protected": true,
      "sortOrder": 3,
      "projectCount": 10,
      "apiTokenCount": 6,
      "enabledToggleCount": 10,
      "requiredApprovals": 3
    }
  ]
}