v1

latestOpenAPI 3.0.02026-07-141,4077,1665.2 MB
Feature Flags

Get an environment

Returns the details of a specific environment.

get/api/v2/feature-flags/environments/{environment_id}

Path parameters

environment_idstring uuid required
Example:550e8400-e29b-41d4-a716-446655440001

The ID of the environment.

Response

OK

Example response

{
  "data": {
    "attributes": {
      "created_at": "2023-01-01T00:00:00Z",
      "description": "Test environment XYZ789",
      "key": "env-search-term",
      "name": "env-search-term",
      "queries": [
        "staging",
        "test"
      ],
      "updated_at": "2023-01-01T00:00:00Z"
    },
    "id": "550e8400-e29b-41d4-a716-446655440001",
    "type": "environments"
  }
}