Experiment
Applies a lifecycle transition to an experiment and returns the full updated document.
Valid transitions: draft/paused → active, active → paused, active/paused → completed; anything else is 409 with code invalid_transition. Activation additionally guards against flag keys owned by another running experiment (flag_key_in_use), an already-elapsed end date (invalid_window), and sticky enrollment without a leavable user predicate (invalid_enrollment_mode).
post/campaign/experiments/{experimentKey}/state
Path parameters
experimentKeystring required
The experiment's stable key.
Request body
Response
OK
Changes
Changed in 1 of the 7 revisions of this API.1
- ○
endpoint added
endpoint-added
This revision also has 2 changes that name no endpoint, such as unreferenced schemas being removed. See the revision's changelog
- ○