Skip to content

ServerEvaluationRequest

Full evaluation request submitted to the server SDK.

optional anonymousId?: string

Optional anonymous ID for correlation (generated server-side when omitted).


optional entitlementHandles?: string[]

Entitlement handles to check.


optional includeTheme?: boolean

Whether to include the tenant theme in the payload.


optional includeTrialStatus?: boolean

Whether to include trial status in the payload.


optional includeUserContext?: boolean

Whether to include full user context (segments, traits, balances).


optional page?: object

Page context when rendering a specific page server-side.

optional tags?: string[]

optional title?: string

optional url?: string


optional placements?: ServerPlacementRequest[]

Placements to evaluate. When omitted, evaluates the bootstrap context.


optional traits?: Record<string, unknown>

User traits for segmentation/personalization.


optional usageBalances?: Record<string, number>

Current usage balances keyed by entitlement handle.


userId: string

Authenticated user identifier.