ServerEvaluationRequest
Full evaluation request submitted to the server SDK.
Properties
Section titled “Properties”anonymousId?
Section titled “anonymousId?”
optionalanonymousId?:string
Optional anonymous ID for correlation (generated server-side when omitted).
entitlementHandles?
Section titled “entitlementHandles?”
optionalentitlementHandles?:string[]
Entitlement handles to check.
includeTheme?
Section titled “includeTheme?”
optionalincludeTheme?:boolean
Whether to include the tenant theme in the payload.
includeTrialStatus?
Section titled “includeTrialStatus?”
optionalincludeTrialStatus?:boolean
Whether to include trial status in the payload.
includeUserContext?
Section titled “includeUserContext?”
optionalincludeUserContext?:boolean
Whether to include full user context (segments, traits, balances).
optionalpage?:object
Page context when rendering a specific page server-side.
optionaltags?:string[]
title?
Section titled “title?”
optionaltitle?:string
optionalurl?:string
placements?
Section titled “placements?”
optionalplacements?:ServerPlacementRequest[]
Placements to evaluate. When omitted, evaluates the bootstrap context.
traits?
Section titled “traits?”
optionaltraits?:Record<string,unknown>
User traits for segmentation/personalization.
usageBalances?
Section titled “usageBalances?”
optionalusageBalances?:Record<string,number>
Current usage balances keyed by entitlement handle.
userId
Section titled “userId”userId:
string
Authenticated user identifier.