Create Experiment
Request body
Example request
{
"name": "Test Experiment",
"description": "Description test"
}Response
Create Experiment Success
Example response
{
"message": "Experiment created successfully.",
"data": {
"id": "a_experiment",
"permalink": "https://console.statsig.com/company_id/experiments/a_experiment",
"name": "a_experiment",
"description": "description",
"idType": "userID",
"lastModifierID": "1vaQaBoLlkauH9iiuOSBP2",
"lastModifiedTime": 1707427635442,
"lastModifierName": "CONSOLE API",
"lastModifierEmail": null,
"creatorID": "1vaQaBoLlkauH9iiuOSBP2",
"createdTime": 1707427634717,
"creatorName": "CONSOLE API",
"creatorEmail": null,
"targetApps": [],
"holdoutIDs": [],
"tags": [],
"status": "setup",
"experimentType": "BASE",
"launchedGroupID": null,
"startTime": null,
"endTime": null,
"layerID": null,
"hypothesis": "This will be a good feature :)",
"primaryMetrics": [
{
"name": "d1_retention_rate",
"type": "user"
}
],
"primaryMetricTags": [],
"secondaryMetrics": [],
"secondaryMetricTags": [],
"groups": [
{
"name": "Control",
"id": "6sEQvUd4c6E55V6ljBYMeJ",
"size": 50,
"parameterValues": {
"assigned_group": "control"
},
"description": "",
"isControl": true
},
{
"name": "Test",
"id": "6sEQvVS6EoNzpkEgUJUpxL",
"size": 50,
"parameterValues": {
"assigned_group": "test"
},
"description": "",
"isControl": false
}
],
"allocation": 100,
"duration": 14,
"targetingGateID": "",
"defaultConfidenceInterval": "95",
"bonferroniCorrection": false,
"decisionReason": null,
"decisionTime": null,
"healthChecks": [],
"healthCheckStatus": "PASSED",
"isStale": false,
"inlineTargetingRulesJSON": "{}",
"powerAnalyses": []
}
}Changes
Changed in 3 of the 8 revisions of this API.2623
- ●
added the new
afterenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
anyenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
any_case_sensitiveenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
array_contains_allenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
array_contains_anyenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
array_contains_noneenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
beforeenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
encoded_anyenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
gtenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
gteenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
is_not_nullenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
is_nullenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
ltenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
lteenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
noneenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
none_case_sensitiveenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
not_array_contains_allenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
onenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
str_contains_anyenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
str_contains_noneenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
str_matchesenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
version_eqenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
version_gtenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
version_gteenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
version_ltenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
added the new
version_lteenum value to theallOf[subschema #2]/data/inlineTargetingRules/items/conditions/items/operatorresponse property for the response status201response-property-enum-value-added
- ●
- ○
added the optional property
allOf[subschema #2]/data/allowOverridesInPulseto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/bonferroniPrimaryMetricWeightto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/defaultImpactMultiplierto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/defaultSPRTControlDeltato the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/defaultSPRTTestDeltato the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/excludePausedExposuresAndEventsto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/isHistoricalCloudExperimentto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/isImpactBankEnabledto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/originalScheduledReloadHourto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/originalTargetExposuresto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/reviewsRequiredLocallyto the response with the201statusresponse-optional-property-added
- ○
- ○
added the new optional request property
isTemplatenew-optional-request-property
- ○
added the optional property
allOf[subschema #2]/data/groups/items/foreignGroupIDVerifiedto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/groups/items/imagesto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/groups/items/isControlto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/groups/items/shippedto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/isPromptExperimentto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/isTemplateto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/originalTargetDurationto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/restartReasonto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/saltto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/scheduledStartTimeto the response with the201statusresponse-optional-property-added
- ○
added the optional property
allOf[subschema #2]/data/wasAutoDisabledto the response with the201statusresponse-optional-property-added
- ○