Create experiment

Create an experiment.

To run this experiment, you’ll need to create an iteration and then update the experiment with the startIteration instruction.

To learn more, read Creating experiments.

Path parameters

projectKeystringRequired
The project key
environmentKeystringRequired
The environment key

Headers

AuthorizationstringRequired

Request

This endpoint expects an object.
namestringRequired
The experiment name
keystringRequired
The experiment key
iterationobjectRequired
Details on the construction of the initial iteration
descriptionstringOptional
The experiment description
maintainerIdstringOptional
The ID of the member who maintains this experiment
holdoutIdstringOptional
The ID of the holdout

Response

Experiment response
keystring
The experiment key
namestring
The experiment name
_maintainerIdstring
The ID of the member who maintains this experiment.
_creationDatelong
Timestamp of when the experiment was created
environmentKeystring
_idstring or null
The experiment ID
descriptionstring or null
The experiment description
archivedDatelong or null
Timestamp of when the experiment was archived
holdoutIdstring or null
The holdout ID
currentIterationobject or null
Details on the current iteration
draftIterationobject or null
Details on the current iteration. This iteration may be already started, or may still be a draft.
previousIterationslist of objects or null
Details on the previous iterations for this experiment.

Errors