v2
latestOpenAPI 3.0.02026-08-073221853.1 MBExperiments
Experiments
Create Experiment
post/console/v1/experiments
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": []
}
}