Skip to content

SDK API Reference / JourneyVariant

Interface: JourneyVariant ​

A/B test variant

Properties ​

id? ​

optional id?: string

Variant ID (auto-generated UUID)


name ​

name: string

Variant name


nextStepId? ​

optional nextStepId?: string

Next step ID


percentage ​

percentage: number

Traffic percentage (0-100)