Basic Example
Creating a basic experiment resourceChanging Experiment Status
You can update thestatus field to four possible values, setup, active, decision_made and abandoned.
If you would like to see code examples of how the Setup -> Run -> Ship flow works for an experiment, check out our Terraform Acceptance Tests for experiments.
Status: setup
When an experiment has this status, you are stating that your experiment is not ready, and no values will be served via a Statsig SDK or the HttpAPI.Status: active
When an experiment has this status, you are marking the experiment as running, and it will start returning values to your users and collecting analytics data.Status: decision_made
When an experiment has this status, you are stating that your experiment is complete and you have picked an experiment group that you would like to ship. Changing to this state will require thelaunched_group_id field to be set will the GroupID found on console.statsig.com.
Status: abandoned
Experiments with this status will not serve any values and will not collect any analytics information.- You may only create an experiment with the status “setup” or “active”.
- You can only transition to “decision_made” from “active”.