Create an experiment for the Experiment Center.
Create an experiment for the Experiment Center.
Create a new experiment with traffic allocations for A/B testing.
POST
Create an experiment for the Experiment Center.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Create an experiment with traffic allocation
A human-readable name for the experiment
Required string length:
3 - 255Pattern:
^(?!.*\x00)\S(.*\S)?$The ID of the feature flag this experiment is based on
Pattern:
^flg_[A-HJ-NP-Za-km-z1-9]+$The authentication flow this experiment applies to
The traffic allocation strategy for this experiment
Available options:
percentage, segment Configuration for how users are assigned to variations
Traffic allocations mapping variations to weights or segments
Minimum array length:
1A description of the experiment
Required string length:
3 - 1024Pattern:
^(?!.*\x00)\S(.*\S)?$Response
Experiment successfully created.
Pattern:
^exp_[A-HJ-NP-Za-km-z1-9]+$Available options:
percentage, segment Filter by status. Exact match.
Available options:
draft, active, paused, completed, archived