provider Segments GET /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey}
@utdk/launchdarkly /api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey}
Get big segment membership for context
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.
projectKey path required
The project key
string
environmentKey path required
The environment key
string
segmentKey path required
The segment key
string
contextKey path required
The context key
string

Try it

Authentication
Configure credentials for LaunchDarkly REST API
Gateway
The gateway proxies requests and injects credentials server-side. Configure credentials above, then enter your gateway URL.

Saved automatically to browser storage.

getsegmentmembershipforcontext
GET/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey}
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.

Parameters

required

The project key

required

The environment key

required

The segment key

required

The context key

Enter a gateway URL above to enable sending.

Code snippet
Updates live as you fill in the form above.

TypeScript

import launchdarkly from '@utdk/launchdarkly';

await launchdarkly.getsegmentmembershipforcontext()