Start an A/B test
Changed onStarts splitting the page's visitors between the versions, within about a minute. Each visitor keeps the version they first got. Deploy the code for every version first. Refused with site_not_public unless the site is public, and with path_in_use while another test runs or is shipped on the same page. Refused with invalid_transition when the test is not in a state this step applies to. Starting a running test changes nothing.
Request
- Base URLhttps://api.crevio.co/v1
- AuthAPI key in header Authorization
Path parameters
The resource's ID, as returned in its id field
The test's ID (e.g., "exp_3f9a1c0b7d2e4a6f8b1c3d5e")
Headers
Makes this write safe to retry: a repeat with the same key replays the first response instead of creating a second resource. Scoped to the account, remembered for 24 hours; reusing a key with a different payload is an error.
Response
The running test
The versions under test. The first is the control and is keyed control; weights are whole percentages of visitors that add up to 100.
How each version is doing, from visitors who saw only that version and what they did after first seeing it: the orders they placed for a purchase goal, or whether they fired the goal event. Null in lists, while the test is a draft, and when results are briefly unavailable. Recomputed at most every 5 minutes while running; frozen when the test ships.
Changes
- info
endpoint added
- info