create_experiment
Create a price experiment in draft. It needs two to ten variants, one named control, each with a price; weights are optional but must then be on every variant: relative for two variants, whole percentages adding up to 100 for more. Needs a Last Price credential. Needs a claimed workspace: a sandbox key from self-registration is refused (403) until a person claims the workspace.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| key | Yes | A key for the experiment: lowercase letters, digits and underscores only. | |
| name | Yes | A name for the experiment. | |
| variants | Yes | The arms to compare. | |
| description | No | What the experiment tests. | |
| target_sample_size | No | How many buyers to reach before reading a winner. |