v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Feature flags

Get flag status across environments

Get the status for a particular feature flag across environments.

get/api/v2/flag-status/{projectKey}/{featureFlagKey}

Path parameters

projectKeystring string required

The project key

The project key

featureFlagKeystring string required

The feature flag key

The feature flag key

Query parameters

envstring string

Optional environment filter

Optional environment filter

Response

Flag status across environments response

environmentsobject required

Flag status for environment.

keystring required

feature flag key

_linksobject required

Example response

{
  "environments": {
    "production": {
      "lastRequested": "2020-02-05T18:17:01.514Z",
      "name": "inactive"
    }
  },
  "key": "flag-key-123abc",
  "_links": {
    "parent": {
      "href": "/api/v2/flag-status",
      "type": "application/json"
    },
    "self": {
      "href": "/api/v2/flag-status/my-project/my-flag",
      "type": "application/json"
    }
  }
}