Creates a new experiment. Returns 201 with the created experiment and Location header.
Bearer authentication using the project Secret Key (prefixed with sk_, or test_sk_ for sandbox). All v4 public endpoints require the Secret Key — see Authentication. Never expose the Secret Key in client-side code.
Experiment display name.
Stable identifier for the experiment. Alphanumeric, hyphens, underscores, dots. Max 256 characters.
256^[a-zA-Z0-9._-]+$Optional experiment description.
Percentage of users to include in the experiment.
Primary success metric.
Target value for the primary metric.
Desired direction of change.
Context key for context-specific experiments.
Whether this experiment is restricted to a specific context.
Experiment created.
"experiment"
Experiment identifier.
Canonical API path.
Experiment display name.
Experiment description.
Current experiment status.
ISO 8601 timestamp when the experiment was started.
ISO 8601 timestamp when the experiment was finished.
Percentage of users included in the experiment.
Primary success metric.
Target value for the primary metric.
Desired direction of change for the primary metric.
Context key for context-specific experiments.
Whether this experiment is restricted to a specific context.
ISO 8601 creation timestamp.
ISO 8601 last update timestamp.