Feature flags

Get flag status across environments

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

Get the status for a particular feature flag across environments.

Authorization

ApiKey read, write
Authorization<token>

In: header

Scope: read, write

Path Parameters

projectKey*string

The project key

Formatstring
featureFlagKey*string

The feature flag key

Formatstring

Query Parameters

env?string

Optional environment filter

Formatstring

Response Body

application/json

application/json

application/json

application/json

application/json

curl -X GET "https://example.com/api/v2/flag-status/string/string"
{  "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"    }  }}