v5

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

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.

get/api/v2/segments/{projectKey}/{environmentKey}/{segmentKey}/contexts/{contextKey}

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

contextKeystring string required

The context key

The context key

Response

Segment membership for context 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.