Experiments
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
List all experiments
Required API key scopes
experiment:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Query parameters
- limitintegerNumber of results to return per page. 
- offsetintegerThe initial index from which to return the results. 
Response
Request
GET 
Response
Status 200
Create experiments
Required API key scopes
experiment:writePath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- type
- metrics
Response
Request
POST 
Response
Status 201
Retrieve experiments
Required API key scopes
experiment:readPath parameters
- idintegerA unique integer value identifying this experiment. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Response
Request
GET 
Response
Status 200
Update experiments
Required API key scopes
experiment:writePath parameters
- idintegerA unique integer value identifying this experiment. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- type
- metrics
Response
Request
PATCH 
Response
Status 200
Delete experiments
Required API key scopes
experiment:writePath parameters
- idintegerA unique integer value identifying this experiment. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
DELETE 
Response
Status 204 No response body
Create experiments create exposure cohort for experiment
Required API key scopes
experiment:writePath parameters
- idintegerA unique integer value identifying this experiment. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- type
- metrics
Request
POST 
Response
Status 200 No response body
Retrieve experiments results
Required API key scopes
experiment:readPath parameters
- idintegerA unique integer value identifying this experiment. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
Retrieve experiments secondary results
Required API key scopes
experiment:readPath parameters
- idintegerA unique integer value identifying this experiment. 
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET 
Response
Status 200 No response body
Retrieve experiments requires flag implementation
Required API key scopes
experiment:readPath parameters
- project_idstringProject ID of the project you're trying to access. To find the ID of the project, make a call to /api/projects/. 
Request
GET