The Experiments Object
The experiments response property is an array of running experiments. Each item describes an experiment, including its variants and per-variant story mappings.
Experiment item properties
Section titled “Experiment item properties”idrequired numberNumeric ID of the experiment.
namerequired stringInternal name (lowercase letters, numbers, and underscores).
display_namerequired stringHuman-readable display name.
story_idsrequired number[]IDs of stories assigned to the experiment.
variantsrequired object[]Variants belonging to the experiment.
Show child properties
namerequired stringInternal name (lowercase letters, numbers, and underscores).
display_namerequired stringHuman-readable display name.
public_idrequired stringPublic identifier for stable bucketing.
weightrequired numberTraffic weight percentage (0–100).
is_controlrequired booleantrueif the variant is the control.story_mappingsrequired object[]Mappings between original stories and their variant copies.
Show child properties
original_story_idrequired numberNumeric ID of the original story.
original_slugrequired string | nullSlug of the original story.
variant_story_idrequired number | nullNumeric ID of the variant story copy.
variant_slugrequired string | nullSlug of the variant story copy.
Was this page helpful?
This site uses reCAPTCHA and Google's Privacy Policy (opens in a new window).Terms of Service (opens in a new window) apply.
Get in touch with the Storyblok community