curl --request GET \
--url https://statsigapi.net/console/v1/experiments/{id} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Experiments listed successfully.",
"data": {
"id": "a_experiment",
"description": "",
"lastModifiedTime": 1707427635442,
"lastModifierEmail": null,
"createdTime": 1707427634717,
"creatorName": "CONSOLE API",
"lastModifierName": "CONSOLE API",
"lastModifierID": "4FKF0sUbi1D7xZFW5vcHWB",
"idType": "userID",
"status": "setup",
"launchedGroupID": null,
"layerID": "statsig::a_experiment_layer",
"hypothesis": "",
"primaryMetrics": [],
"primaryMetricTags": [],
"secondaryMetrics": [],
"secondaryMetricTags": [],
"startTime": null,
"endTime": null,
"decisionTime": null,
"groups": [
{
"name": "Control",
"id": "4HbgLdfqlIeN3sHkyMG1qC",
"size": 50,
"parameterValues": {}
},
{
"name": "Test",
"size": 50,
"parameterValues": {}
}
],
"allocation": 100,
"duration": 14,
"targetingGateID": "",
"defaultConfidenceInterval": "95",
"bonferroniCorrection": false,
"tags": [
"* Core"
],
"decisionReason": "",
"owner": {
"ownerType": "USER",
"ownerName": "Test User"
},
"healthCheckStatus": "PASSED",
"inlineTargetingRulesJSON": "{}"
}
}
curl --request GET \
--url https://statsigapi.net/console/v1/experiments/{id} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Experiments listed successfully.",
"data": {
"id": "a_experiment",
"description": "",
"lastModifiedTime": 1707427635442,
"lastModifierEmail": null,
"createdTime": 1707427634717,
"creatorName": "CONSOLE API",
"lastModifierName": "CONSOLE API",
"lastModifierID": "4FKF0sUbi1D7xZFW5vcHWB",
"idType": "userID",
"status": "setup",
"launchedGroupID": null,
"layerID": "statsig::a_experiment_layer",
"hypothesis": "",
"primaryMetrics": [],
"primaryMetricTags": [],
"secondaryMetrics": [],
"secondaryMetricTags": [],
"startTime": null,
"endTime": null,
"decisionTime": null,
"groups": [
{
"name": "Control",
"id": "4HbgLdfqlIeN3sHkyMG1qC",
"size": 50,
"parameterValues": {}
},
{
"name": "Test",
"size": 50,
"parameterValues": {}
}
],
"allocation": 100,
"duration": 14,
"targetingGateID": "",
"defaultConfidenceInterval": "95",
"bonferroniCorrection": false,
"tags": [
"* Core"
],
"decisionReason": "",
"owner": {
"ownerType": "USER",
"ownerName": "Test User"
},
"healthCheckStatus": "PASSED",
"inlineTargetingRulesJSON": "{}"
}
}
Optional header to respect review settings for mutation endpoints.
id
Get Experiment Success
The response is of type object
.