create_experiment
Create an A/B experiment on a configuration. Each group applies its own changes (set / add / delete on configuration paths) to the units assigned to it; weights split eligible units between groups. The experiment starts at startsAt (default: now) and cannot be edited after creation, only terminated. Its changed paths are locked against other experiments and configuration edits until it ends. Read the base configuration's exact current values first (get_configuration or search_configuration) and pass them as each operation's baseValue; check list_experiment_locks for paths already taken. The experiment is created when this runs; explain it in reason, which is recorded with the change. Load the manage-experiments skill (load_skill("manage-experiments")) first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| reason | Yes | Why this is being done, in one or two sentences a reviewer can judge it by. Shown to the approver. | |
| projectId | Yes | The project (application) id to scope this call to. Use list_projects to discover valid ids. | |
| experiment | Yes | ||
| environment | Yes | The environment name to scope this call to (e.g. 'production'). Use list_projects to discover the names available to this token. |