Experiments
For instructions on how to authenticate to use this endpoint, see API overview.
Endpoints
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
GET | |
POST | |
GET | |
PATCH | |
DELETE | |
POST |
List all experiment holdouts
Required API key scopes
experiment:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /experiment_holdoutsExample response
Status 200
RESPONSE
Create experiment holdouts
Required API key scopes
experiment:writePath parameters
- project_idstring
Request parameters
- namestring
- descriptionstring
- filters
Response
Example request
POST /api /projects /:project_id /experiment_holdoutsExample response
Status 201
RESPONSE
Retrieve experiment holdouts
Required API key scopes
experiment:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /experiment_holdouts /:idExample response
Status 200
RESPONSE
Update experiment holdouts
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- descriptionstring
- filters
Response
Example request
PATCH /api /projects /:project_id /experiment_holdouts /:idExample response
Status 200
RESPONSE
Delete experiment holdouts
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /experiment_holdouts /:idExample response
Status 204 No response body
List all experiments
Required API key scopes
experiment:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /experimentsExample response
Status 200
RESPONSE
List all experiments
Required API key scopes
experiment:readPath parameters
- project_idstring
Query parameters
- limitinteger
- offsetinteger
Response
Example request
GET /api /projects /:project_id /experimentsExample response
Status 200
RESPONSE
Create experiments
Required API key scopes
experiment:writePath parameters
- project_idstring
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- deletedboolean
- type
- exposure_criteria
- metrics
- metrics_secondary
- stats_config
- scheduling_config
- _create_in_folderstring
- conclusion
- conclusion_commentstring
- primary_metrics_ordered_uuids
- secondary_metrics_ordered_uuids
Response
Example request
POST /api /projects /:project_id /experimentsExample response
Status 201
RESPONSE
Create experiments
Required API key scopes
experiment:writePath parameters
- project_idstring
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- deletedboolean
- type
- exposure_criteria
- metrics
- metrics_secondary
- stats_config
- scheduling_config
- _create_in_folderstring
- conclusion
- conclusion_commentstring
- primary_metrics_ordered_uuids
- secondary_metrics_ordered_uuids
Response
Example request
POST /api /projects /:project_id /experimentsExample response
Status 201
RESPONSE
Retrieve experiments
Required API key scopes
experiment:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /experiments /:idExample response
Status 200
RESPONSE
Retrieve experiments
Required API key scopes
experiment:readPath parameters
- idinteger
- project_idstring
Response
Example request
GET /api /projects /:project_id /experiments /:idExample response
Status 200
RESPONSE
Update experiments
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- deletedboolean
- type
- exposure_criteria
- metrics
- metrics_secondary
- stats_config
- scheduling_config
- _create_in_folderstring
- conclusion
- conclusion_commentstring
- primary_metrics_ordered_uuids
- secondary_metrics_ordered_uuids
Response
Example request
PATCH /api /projects /:project_id /experiments /:idExample response
Status 200
RESPONSE
Update experiments
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- deletedboolean
- type
- exposure_criteria
- metrics
- metrics_secondary
- stats_config
- scheduling_config
- _create_in_folderstring
- conclusion
- conclusion_commentstring
- primary_metrics_ordered_uuids
- secondary_metrics_ordered_uuids
Response
Example request
PATCH /api /projects /:project_id /experiments /:idExample response
Status 200
RESPONSE
Delete experiments
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /experiments /:idExample response
Status 405 No response body
Delete experiments
Hard delete of this model is not allowed. Use a patch API call to set "deleted" to true
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Example request
DELETE /api /projects /:project_id /experiments /:idExample response
Status 405 No response body
Create experiments create exposure cohort for experiment
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- deletedboolean
- type
- exposure_criteria
- metrics
- metrics_secondary
- stats_config
- scheduling_config
- _create_in_folderstring
- conclusion
- conclusion_commentstring
- primary_metrics_ordered_uuids
- secondary_metrics_ordered_uuids
Example request
POST /api /projects /:project_id /experiments /:id /create_exposure_cohort_for_experimentExample response
Status 200 No response body
Create experiments create exposure cohort for experiment
Required API key scopes
experiment:writePath parameters
- idinteger
- project_idstring
Request parameters
- namestring
- descriptionstring
- start_datestring
- end_datestring
- feature_flag_keystring
- holdout_idinteger
- parameters
- secondary_metrics
- saved_metrics_idsarray
- filters
- archivedboolean
- deletedboolean
- type
- exposure_criteria
- metrics
- metrics_secondary
- stats_config
- scheduling_config
- _create_in_folderstring
- conclusion
- conclusion_commentstring
- primary_metrics_ordered_uuids
- secondary_metrics_ordered_uuids
Example request
POST /api /projects /:project_id /experiments /:id /create_exposure_cohort_for_experiment