For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Use contexts instead
After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use Get context attribute names instead of this endpoint.
Get all in-use user attributes in the specified environment. The set of in-use attributes typically consists of all attributes seen within the past 30 days.
curl --request GET \
--url https://app.launchdarkly.com/api/v2/user-attributes/{projectKey}/{environmentKey} \
--header 'Authorization: <api-key>'{
"private": [
"SSN",
"credit_card_number"
],
"custom": [
"Age",
"FavoriteFood",
"FavoriteColor"
],
"standard": [
"key",
"ip",
"firstName",
"lastName",
"country",
"anonymous"
]
}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
curl --request GET \
--url https://app.launchdarkly.com/api/v2/user-attributes/{projectKey}/{environmentKey} \
--header 'Authorization: <api-key>'{
"private": [
"SSN",
"credit_card_number"
],
"custom": [
"Age",
"FavoriteFood",
"FavoriteColor"
],
"standard": [
"key",
"ip",
"firstName",
"lastName",
"country",
"anonymous"
]
}