For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Get the flag defaults for a specific project.
curl --request GET \
--url https://app.launchdarkly.com/api/v2/projects/{projectKey}/flag-defaults \
--header 'Authorization: <api-key>'{
"_links": {},
"key": "<string>",
"tags": [
"tag-1",
"tag-2"
],
"temporary": true,
"defaultClientSideAvailability": "{\"usingMobileKey\": true, \"usingEnvironmentId\": false}",
"booleanDefaults": {
"trueDisplayName": "True",
"falseDisplayName": "False",
"trueDescription": "serve true",
"falseDescription": "serve false",
"onVariation": 0,
"offVariation": 1
}
}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
Flag defaults response
The location and content type of related resources
Show child attributes
A unique key for the flag default
A list of default tags for each flag
["tag-1", "tag-2"]Whether the flag should be temporary by default
true
Which client-side SDK types can use this flag by default. Set usingMobileKey to make the flag available for mobile SDKs. Set usingEnvironmentId to make the flag available for client-side SDKs.
Show child attributes
"{\"usingMobileKey\": true, \"usingEnvironmentId\": false}"
Defaults for boolean flags within this project
Show child attributes
curl --request GET \
--url https://app.launchdarkly.com/api/v2/projects/{projectKey}/flag-defaults \
--header 'Authorization: <api-key>'{
"_links": {},
"key": "<string>",
"tags": [
"tag-1",
"tag-2"
],
"temporary": true,
"defaultClientSideAvailability": "{\"usingMobileKey\": true, \"usingEnvironmentId\": false}",
"booleanDefaults": {
"trueDisplayName": "True",
"falseDisplayName": "False",
"trueDescription": "serve true",
"falseDescription": "serve false",
"onVariation": 0,
"offVariation": 1
}
}