v5

latestOpenAPI 3.0.3Apache 2.0raw.githubusercontent.com2026-02-283466592.5 MB
Segments

Get big segment membership for user

Contexts are now available

After you have upgraded your LaunchDarkly SDK to use contexts instead of users, you should use Get expiring targets for segment instead of this endpoint. To learn more, read Contexts.

Get the membership status (included/excluded) for a given user in this big segment. This operation does not support standard segments.

get/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/users/{userKey}

Path parameters

projectKeystring string required

The project key

The project key

environmentKeystring string required

The environment key

The environment key

segmentKeystring string required

The segment key

The segment key

userKeystring string required

The user key

The user key

Response

Segment membership for user response

userKeystring required

The target key

includedboolean required

Indicates whether the target is included.<br />Included targets are always segment members, regardless of segment rules.

excludedboolean required

Indicates whether the target is excluded.<br />Segment rules bypass excluded targets, so they will never be included based on rules. Excluded targets may still be included explicitly.