Skip to content

ExperimentVariant

← All HTTP schemas

Defines one experiment variant: its definition version and traffic weight.

Shape: object

Property Required Type Description Rules
name yes string Gets the variant name, for example "control" or "v3". It must be unique within the experiment.
version yes integer (int32) Gets the AgentDefinition.Version number to serve. pattern `^-?(?:0\
weight yes integer (int32) Gets the traffic weight from 0 through 100. The weights of all experiment variants must total exactly 100 or saving is rejected. See Experiment. pattern `^-?(?:0\