propose_experiment_variant
Add one price arm to an existing experiment: pass experiment_key and the price, optionally label (otherwise the next variant_N is used) and metadata. The experiment must split traffic evenly and have room for another arm (ten at most); one whose arms carry weights refuses, so the author has to say how traffic is reshared. This changes the experiment, so a running one starts serving the new price to its share of buyers. Needs a claimed 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 |
|---|---|---|---|
| label | No | The arm's name. Defaults to the next variant_N. | |
| price | Yes | The price the new arm serves. | |
| metadata | No | Anything to keep with the arm. | |
| experiment_key | Yes | The experiment key: key on a list_experiments result, lowercase letters, digits and underscores. |