Documentation Index
Fetch the complete documentation index at: https://launchdarkly-preview.mintlify.app/llms.txt
Use this file to discover all available pages before exploring further.
Overview
This topic explains how to edit, clone, and archive experiments.Edit experiments
Some edits to an existing experiment trigger a new experiment iteration when you save your changes. When LaunchDarkly starts a new experiment iteration, it will reshuffle traffic into new variations unless you prevent variation reassignment. Here are the changes you can make to an existing experiment:- You can make changes to the name of an experiment or add new metrics to an existing experiment at any time. LaunchDarkly will not start a new iteration of the experiment when you make these changes.
- You can make changes to the hypothesis, randomization unit, existing metrics, and audience of a running experiment. However, LaunchDarkly will start a new iteration of the experiment when you save your changes, and may reshuffle traffic in the new iteration.
- If you don’t want LaunchDarkly to reshuffle traffic when you edit an experiment, check the Prevent variation reassignment when traffic increases checkbox. To learn more, read Variation reassignment.
- You cannot make changes to the flag used in an existing experiment. If you want to use a different flag, you must create a new experiment.
Change an experiment name
To change an experiment’s name:- Navigate to the Design tab of your experiment.
- Click Edit design.
- Edit the Name as needed.
- Click the checkmark icon.
Add additional metrics
To add additional metrics to an experiment, without removing any existing metrics:- Navigate to the Results tab of your experiment.
- Scroll to the results table and click Add.
- Select Metrics:

- Select additional metrics or metric groups.
- Click Add metrics.
Change an experiment’s hypothesis, randomization unit or existing metrics
To change an experiment’s hypothesis or randomization unit, or to remove and replace existing metrics:- Navigate to the Design tab of your experiment.
- Click Edit design.
- (Optional) Edit the Hypothesis as needed.
- (Optional) Choose a different randomization unit from the Randomize by menu as needed.
- (Optional) Choose different Metrics as needed.
- Scroll to the top of the page and click Save.
- If the experiment was running when you made edits, a “Save experiment design?” dialog appears. Enter a reason for the change and click Save & start new iteration.
Change an experiment’s audience allocation
To edit the audience allocation of an experiment:- Navigate to the Design tab of your experiment.
- Click Edit design.
- Navigate to the “Audience allocation” section and update the sample size as needed.

- Scroll to the top of the page and click Save & start new iteration.
- Enter a Reason for changes.
- Click Save changes and start new iteration.
Change an experiment’s flag rule
To change the flag rule an experiment is running on, you must stop the experiment iteration, change the rule, and start a new iteration. This lets you select a flag variation to serve to any contexts that will no longer be included in the experiment. To change the flag rule:- Navigate to the Design tab of your experiment.
- Click Stop experiment. The “Stop experiment” dialog appears.
- Select a winning variation to serve while the experiment is stopped.
- Enter a Reason for stopping.
- Click Stop experiment.
- Click Edit design.
- Navigate to the “Variations and audience targeting” section and update the Targeting rule as needed.
- You can also update the Sample size if you need to change the percentage of contexts to serve the experiment to.
- Click Save to save your changes, or click Start to start a new iteration of the experiment.
Clone experiments
You can clone an existing experiment into a new environment and make edits to the new experiment’s configuration. To clone an experiment:- Navigate to the Experiments list.
- Click on the three-dot overflow menu for the experiment you want to clone.
- Select Clone experiment. The “Clone experiment” dialog opens.
- Select a destination environment for the new experiment.
- Click Clone experiment.
Archive experiments
You can archive experiments that have concluded, as well as the flags and metrics attached to them, but you cannot permanently delete experiments. Archiving experiments preserves the results so you can refer to them in the future. Before you can archive an experiment:- The experiment must not be running. To learn how to stop an experiment, read Stop experiment iterations.
- The experiment must not be included in a layer. To learn how to remove an experiment from a layer, read Remove experiments from layers.
- Navigate to the Experiments list in the environment you want to archive an experiment in.
- Click on the three-dot overflow menu of the experiment you want to archive.
- Select Archive.

Experiments and experiment settings are specific to single environments. If you want to run the same experiment in different environments, you must create and run the experiment in each environment individually.
You can also use the REST API: Patch experiment