For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Get statistics about all the code references across repositories for all flags in your project that have code references in the default branch, for example, main. Optionally, you can include the flagKey query parameter to limit your request to statistics about code references for a single flag. This endpoint returns the number of references to your flag keys in your repositories, as well as a link to each repository.
curl --request GET \
--url https://app.launchdarkly.com/api/v2/code-refs/statistics/{projectKey} \
--header 'Authorization: <api-key>'{
"flags": {},
"_links": {}
}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
Filter results to a specific flag key
curl --request GET \
--url https://app.launchdarkly.com/api/v2/code-refs/statistics/{projectKey} \
--header 'Authorization: <api-key>'{
"flags": {},
"_links": {}
}