experiments

Create a draft experiment

Changed on

Store a draft. Nothing serves and nobody is enrolled until it launches.

Group shares are proportions in 0..1 on the way in and come back the same way, alongside the basis points the database keeps.

post/api/v1/campaigns/{campaign_id}/experiments

Request

  • Base URL
    https://api.outrival.com (the document declares no server; this is the origin it was published from)
  • URL
    https://api.outrival.com/api/v1/campaigns/{campaign_id}/experiments
  • Auth
    HTTP bearer

Path parameters

campaign_idstring required

Request body

namestring required

What this experiment is testing

primary_metric'transfer' | 'success' | 'contact_rate' | 'opted_out' | 'not_interested' | 'post_transfer_follow_up' required
allocationnumber nullable

Optional. The experiment's total share of the campaign's traffic, as a PROPORTION IN 0..1. It is NOT stored — allocation lives on the groups — so supplying it only asks this endpoint to confirm that the group shares add up to what you meant, and the request is refused when they do not

notestring nullable

Free text stored with the experiment

Response

Successful Response

object required

Changes