For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Get the status for a particular feature flag.
curl --request GET \
--url https://app.launchdarkly.com/api/v2/flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} \
--header 'Authorization: <api-key>'{
"name": "inactive",
"_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"
}
},
"lastRequested": "2020-02-05T18:17:01.514Z",
"default": "<unknown>"
}Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
The project key
The environment key
The feature flag key
Flag status response
Status of the flag
new, inactive, active, launched "inactive"
Show child attributes
{
"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"
}
}Timestamp of last time flag was requested
"2020-02-05T18:17:01.514Z"
Default value seen from code
curl --request GET \
--url https://app.launchdarkly.com/api/v2/flag-statuses/{projectKey}/{environmentKey}/{featureFlagKey} \
--header 'Authorization: <api-key>'{
"name": "inactive",
"_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"
}
},
"lastRequested": "2020-02-05T18:17:01.514Z",
"default": "<unknown>"
}