Skip to main content
GET
/
api
/
v2
/
code-refs
/
statistics
/
{projectKey}
Get code references statistics for flags
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.

Authorizations

Authorization
string
header
required

Path Parameters

projectKey
string<string>
required

The project key

Query Parameters

flagKey
string<string>

Filter results to a specific flag key

Response

Statistic collection response

flags
object
required

A map of flag keys to a list of code reference statistics for each code repository in which the flag key appears

The location and content type of related resources