Experiments

Add your own opening to a test

Requires the experiments:write scope.

post/experiments/{id}/variants

Request

  • Base URL: https://api.meetdarwin.ai/v1
  • URL: https://api.meetdarwin.ai/v1/experiments/{id}/variants
  • Auth: HTTP bearer

Path parameters

idstring required

Headers

Idempotency-Keystring

Retry safely: the first response is replayed for 24 hours (not for streamed answers).

Request body

namestring
hypothesisstring
headlinestring required

Response

OK

idstring required
object'experiment' required
namestring required
statusstring required

draft, ready, running, winner_found, applied, stopped, paused, failed or invalidated.

internal_statusstring required
pagesstring[] required
metricstring required
hypothesisstring nullable required
winnerstring nullable required
verdictstring nullable required
created_atstring date-time nullable required
started_atstring date-time nullable required
ended_atstring date-time nullable required
applied_atstring date-time nullable required
resultunknown

Example response

{
  "id": "exp_4c1f0a2b9d3e7a10"
}

Changes

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