Experiments

Create Experiment

Create a draft experiment. Start it to split traffic.

post/core/experiments

Request

  • Base URL
    https://api.anyreach.ai (the document declares no server; this is the origin it was published from)
  • Auth
    HTTP bearer

Headers

x-anyreach-orgstring nullable

Organization ID for user PATs (pat_ prefix tokens)

Request body

namestring required
hypothesisstring
primary_metricstring nullable
widget_idsstring[] required

Web widgets whose visitors are split.

Response

Successful Response

idstring required
organization_idstring required
namestring required
hypothesisstring
unitstring
status'draft' | 'running' | 'paused' | 'concluded' required
saltstring required
primary_metricstring nullable
started_atstring date-time nullable
ended_atstring date-time nullable
winner_keystring nullable
created_atstring date-time required
updated_atstring date-time required
created_bystring nullable
modified_bystring nullable
touched_sectionsstring[]
swaps_agent_versionboolean
metric_optionsstring[]

Changes

No recorded changes to this operation across all 1 revision of this API.