Skip to main content

AbTestVariantWeightInput

Existing variant id and traffic percentage accepted by abTestSetTrafficSplit; other variants retain their weights.

input AbTestVariantWeightInput {
id: Int!
weight: Float!
}

Fields​

AbTestVariantWeightInput.id ● Int! non-null scalar​

Numeric variant id from abTestRefList or abTestEditorDetail.variants; must belong to the test.

AbTestVariantWeightInput.weight ● Float! non-null scalar​

Traffic percentage, truncated to tenths; no range or total-of-100 validation, and omitted variants keep weights.

Member Of​

abTestSetTrafficSplit mutation