v5

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

Get feature flag status

Get the status for a particular feature flag.

get/api/v2/flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey}

Path parameters

projectKeystring string required

The project key

The project key

environmentKeystring string required

The environment key

The environment key

featureFlagKeystring string required

The feature flag key

The feature flag key

Response

Flag status response

name'new' | 'inactive' | 'active' | 'launched' required

Status of the flag

lastRequestedstring date-time

Timestamp of last time flag was requested

{"stackTrail":"components:schemas:FlagStatusRep:properties:default","oasType":"schema","type":"unknown","description":"Default value seen from code"}
_linksobject required

Example response

{
  "name": "inactive",
  "lastRequested": "2020-02-05T18:17:01.514Z",
  "_links": {
    "parent": {
      "href": "/api/v2/flags/my-project/my-flag",
      "type": "application/json"
    },
    "self": {
      "href": "/api/v2/flag-statuses/my-project/my-flag",
      "type": "application/json"
    }
  }
}