For the complete documentation index, see llms.txt. For the full documentation snapshot, see llms-full.txt.
Get the membership status (included/excluded) for a given context in this big segment. Big segments include larger list-based segments and synced segments. This operation does not support standard segments.
curl --request GET \
--url https://app.launchdarkly.com/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey} \
--header 'Authorization: <api-key>'{
"userKey": "<string>",
"included": true,
"excluded": true
}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 segment key
The context key
Segment membership for context response
The target key
Indicates whether the target is included.
Included targets are always segment members, regardless of segment rules.
Indicates whether the target is excluded.
Segment rules bypass excluded targets, so they will never be included based on rules. Excluded targets may still be included explicitly.
curl --request GET \
--url https://app.launchdarkly.com/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey} \
--header 'Authorization: <api-key>'{
"userKey": "<string>",
"included": true,
"excluded": true
}