Replace an experiment's arms
Replaces the experiment's arms, placements and flag values with the ones given and answers all of them.
Name an existing arm's id to keep it, so end users in it stay there. Exactly one arm is the control and the weights total 100. An arm may show paywalls, give feature flags a value (flagValues), or both; a flag one arm gives a value, every arm must, and it has to be one of the project's own flags, not archived.
Guide: Feature flags and A/B tests
Errors
| Status | type | code | When |
|---|---|---|---|
| 400 | invalid_request | invalid_variants | — |
| 400 | invalid_request | experiment_variant_not_found | — |
| 400 | invalid_request | paywall_not_found | — |
| 400 | invalid_request | paywall_location_not_found | — |
| 409 | conflict | experiment_variants_locked | While it runs; pause it first. |
It can also fail with the errors every operation shares, such as unauthenticated; see Errors.
More in Experiments
- List experiments
GET - Create an experiment
POST - Retrieve an experiment
GET - Update an experiment
PATCH - Archive an experiment
POST - Unarchive an experiment
POST - Start an experiment
POST - Pause an experiment
POST - Conclude an experiment
POST - List an experiment's arms
GET - Retrieve an experiment's results
GET
Something wrong or missing on this page? Tell us by email or on Discord.