HTTP API
Console API
Alerts
Audit Logs
Autotunes
Company
Dynamic Configs
- GETList Dynamic Configs
- POSTCreate Dynamic Config
- GETGet Dynamic Config
- POSTFully Update Dynamic Config
- DELDelete Dynamic Config
- PATCHPartially Update Dynamic Config
- PUTDisable Dynamic Config
- PUTEnable Dynamic Config
- POSTAdd Dynamic Config Rule
- GETGet Specific Dynamic Config Rule
- DELDelete Dynamic Config Rule
- PATCHUpdate Dynamic Config Rule By Id
- DELDelete Dynamic Config Rule By Name
- PATCHUpdate Dynamic Config Rule By Name
- GETGet Dynamic Config Rules
- POSTAdd Dynamic Config Rules
- PATCHUpdate List of Dynamic Config Rules
- GETList Dynamic Config Versions
Experiments
- GETList Experiments
- POSTCreate Experiment
- GETGet Experiment
- POSTFully Update Experiment
- DELDeleted Experiment
- PATCHPartially Update Experiment
- PUTAbandon Experiment
- PUTArchive Experiment
- GETRetrieve cumulative exposures
- POSTDisable Experiment Groups
- POSTEnable Experiment Groups
- PUTFinish Experiment Early
- GETGet Experiment Overrides
- POSTUpdate Experiment Overrides
- DELDelete Experiment Overrides
- PATCHPartially Update Experiment Overrides
- GETRetrieve Pulse Results (Beta)
- PUTReset Experiment
- PUTStart Experiment
- PUTUnarchive Experiment
Experiments (Warehouse Native)
- POSTLoad Pulse (Warehouse Native)
- GETPulse Load History (Warehouse Native)
- POSTPost Assignment Source
- DELDelete Assignment Source
- PATCHPatch Assignment Source
- GETList Assignment Sources
- POSTCreate Assignment Source
- GETList Entity Property Sources
- POSTCreate Entity Property Source
- GETGet Entity Property Source
- POSTPost Entity Property Source
- DELDelete Entity Property Source
- PATCHPatch Entity Property Source
Configs
Gates
- GETList Gates
- POSTCreate Gate
- GETRead Gate
- POSTFully Update Gates
- DELDelete Gates
- PATCHPartially Update Gates
- PUTArchive Gate
- PUTDisable Gate
- PUTEnable Gate
- PUTLaunch Gate
- POSTLoad Pulse Gate
- GETGet Gate Override
- POSTUpdate Gate Overrides
- DELDelete Gate Overrides
- PATCHAdd Gate Overrides
- POSTAdd Gate Rule
- GETRead Gate Rules
- POSTAdd Multiple Gate Rule
- PATCHUpdate list of current Gate Rules settings
- DELDelete Gate Rule
- PATCHUpdate Gate Rules
- GETPulse Load History (Warehouse Native)
- GETRetrieve Pulse Results (Beta)
- GETList Gate Versions
Holdouts
Ingestions
- GETRead Ingestion
- POSTCreate Ingestion Source
- DELDelete Ingestion Source
- PATCHUpdate Ingestion Source
- POSTBackfill Ingestion
- POSTCreate Ingestion Databricks
- GETGet Ingestion Event Count
- GETGet Ingestion Event Delta Ledger
- GETList Ingestion Runs
- GETRead Ingestion Run
- GETRead Ingestion Schedule
- POSTUpdate Ingestion Schedule
- GETList Ingestions Status
Keys
Layers
Metrics
Metrics (Warehouse Native)
Project
Reports
Segments
Target App
Users
- GETList Users
- GETGet user by email
- POSTUpdate user
- POSTInvite user. To avoid spamming, invitation emails are not sent. Invitee will see invitation notification in-app after logging in.
- GETList Teams
- POSTCreate Team
- GETGet Team
- DELDelete Team
- PATCHUpdate Team. Ops: Replace. Use GET for current data if you intent to Add.
Experiments
Disable Experiment Groups
POST
/
console
/
v1
/
experiments
/
{id}
/
disable_groups
Copy
Ask AI
curl --request POST \
--url https://statsigapi.net/console/v1/experiments/{id}/disable_groups \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '{
"group_names": [
"<string>"
]
}'
Copy
Ask AI
{
"message": "<string>",
"data": {
"reviewSettings": {
"requiredReview": true,
"allowedReviewers": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
]
},
"activeReview": {
"reviewID": "<string>",
"reviewStatus": "<string>",
"description": "<string>"
},
"id": "<string>",
"name": "<string>",
"idType": "<string>",
"description": "<string>",
"lastModifierID": "<string>",
"lastModifiedTime": 123,
"lastModifierEmail": "<string>",
"lastModifierName": "<string>",
"creatorID": "<string>",
"createdTime": 123,
"creatorName": "<string>",
"creatorEmail": "<string>",
"tags": [
"<string>"
],
"targetApps": "<string>",
"holdoutIDs": [
"<string>"
],
"team": "<string>",
"teamID": "<string>",
"version": 123,
"secondaryIDType": "<string>",
"hypothesis": "<string>",
"links": [
{
"url": "<string>",
"title": "<string>"
}
],
"groups": [
{
"name": "<string>",
"id": "<string>",
"size": 50,
"parameterValues": {},
"disabled": true,
"description": "<string>",
"foreignGroupID": "<string>"
}
],
"controlGroupID": "<string>",
"allocation": 50,
"primaryMetricTags": [
"<string>"
],
"secondaryMetricTags": [
"<string>"
],
"primaryMetrics": [
{
"name": "<string>",
"type": "<string>",
"direction": "increase",
"hypothesizedValue": 123
}
],
"secondaryMetrics": [
{
"name": "<string>",
"type": "<string>",
"direction": "increase",
"hypothesizedValue": 123
}
],
"duration": 2,
"targetExposures": 2,
"targetingGateID": "<string>",
"sequentialTesting": true,
"bonferroniCorrection": true,
"bonferroniCorrectionPerMetric": true,
"benjaminiHochbergPerVariant": true,
"benjaminiHochbergPerMetric": true,
"benjaminiPrimaryMetricsOnly": true,
"defaultConfidenceInterval": "80",
"status": "active",
"launchedGroupID": "<string>",
"assignmentSourceName": "<string>",
"assignmentSourceExperimentName": "<string>",
"isAnalysisOnly": true,
"allocationDuration": 2,
"cohortedAnalysisDuration": 2,
"cohortedMetricsMatureAfterEnd": true,
"cohortWaitUntilEndToInclude": true,
"fixedAnalysisDuration": 2,
"scheduledReloadHour": 11,
"scheduledReloadType": "full",
"analysisEndTime": "<string>",
"precommitWebhook": {
"url": "<string>",
"internalStatusUrl": "<string>"
},
"assignmentSourceFilters": [
{
"column": "<string>",
"condition": "in",
"values": [
"<string>"
]
}
],
"analyticsType": "<string>",
"subtype": "conversion",
"externalExperimentName": "<string>",
"layerID": "<string>",
"startTime": 123,
"endTime": 123,
"decisionReason": "<string>",
"decisionTime": 123,
"healthChecks": [
{
"name": "<string>",
"description": "<string>",
"status": "PASSED",
"metadata": {
"type": "<string>",
"lastPulseLoadTime": 123,
"crossoverPercent": 123,
"assignmentSourceID": "<string>",
"assignmentSourceName": "<string>",
"foreignExperimentID": "<string>",
"deduplication_rate": 123,
"deduplication_rates": [
{
"group_id": "<string>",
"rate": 123,
"group_name": "<string>"
}
],
"primary_id_type": "<string>",
"secondary_id_type": "<string>",
"missingMetrics": [
"<string>"
],
"metrics": [
{
"metric_name": "<string>",
"earliest_date": "2023-11-07T05:31:56Z",
"latest_date": "2023-11-07T05:31:56Z"
}
],
"lastUpdatedDs": "<string>"
},
"type": "has_checks"
}
],
"healthCheckStatus": "PASSED",
"owner": {
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "owner123@test.com"
},
"inlineTargetingRulesJSON": "<string>"
}
}
Authorizations
Headers
Optional header to respect review settings for mutation endpoints.
Path Parameters
id
Body
application/json
Response
201
application/json
Disable experiment groups
The response is of type object
.
Copy
Ask AI
curl --request POST \
--url https://statsigapi.net/console/v1/experiments/{id}/disable_groups \
--header 'Content-Type: application/json' \
--header 'STATSIG-API-KEY: <api-key>' \
--data '{
"group_names": [
"<string>"
]
}'
Copy
Ask AI
{
"message": "<string>",
"data": {
"reviewSettings": {
"requiredReview": true,
"allowedReviewers": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
]
},
"activeReview": {
"reviewID": "<string>",
"reviewStatus": "<string>",
"description": "<string>"
},
"id": "<string>",
"name": "<string>",
"idType": "<string>",
"description": "<string>",
"lastModifierID": "<string>",
"lastModifiedTime": 123,
"lastModifierEmail": "<string>",
"lastModifierName": "<string>",
"creatorID": "<string>",
"createdTime": 123,
"creatorName": "<string>",
"creatorEmail": "<string>",
"tags": [
"<string>"
],
"targetApps": "<string>",
"holdoutIDs": [
"<string>"
],
"team": "<string>",
"teamID": "<string>",
"version": 123,
"secondaryIDType": "<string>",
"hypothesis": "<string>",
"links": [
{
"url": "<string>",
"title": "<string>"
}
],
"groups": [
{
"name": "<string>",
"id": "<string>",
"size": 50,
"parameterValues": {},
"disabled": true,
"description": "<string>",
"foreignGroupID": "<string>"
}
],
"controlGroupID": "<string>",
"allocation": 50,
"primaryMetricTags": [
"<string>"
],
"secondaryMetricTags": [
"<string>"
],
"primaryMetrics": [
{
"name": "<string>",
"type": "<string>",
"direction": "increase",
"hypothesizedValue": 123
}
],
"secondaryMetrics": [
{
"name": "<string>",
"type": "<string>",
"direction": "increase",
"hypothesizedValue": 123
}
],
"duration": 2,
"targetExposures": 2,
"targetingGateID": "<string>",
"sequentialTesting": true,
"bonferroniCorrection": true,
"bonferroniCorrectionPerMetric": true,
"benjaminiHochbergPerVariant": true,
"benjaminiHochbergPerMetric": true,
"benjaminiPrimaryMetricsOnly": true,
"defaultConfidenceInterval": "80",
"status": "active",
"launchedGroupID": "<string>",
"assignmentSourceName": "<string>",
"assignmentSourceExperimentName": "<string>",
"isAnalysisOnly": true,
"allocationDuration": 2,
"cohortedAnalysisDuration": 2,
"cohortedMetricsMatureAfterEnd": true,
"cohortWaitUntilEndToInclude": true,
"fixedAnalysisDuration": 2,
"scheduledReloadHour": 11,
"scheduledReloadType": "full",
"analysisEndTime": "<string>",
"precommitWebhook": {
"url": "<string>",
"internalStatusUrl": "<string>"
},
"assignmentSourceFilters": [
{
"column": "<string>",
"condition": "in",
"values": [
"<string>"
]
}
],
"analyticsType": "<string>",
"subtype": "conversion",
"externalExperimentName": "<string>",
"layerID": "<string>",
"startTime": 123,
"endTime": 123,
"decisionReason": "<string>",
"decisionTime": 123,
"healthChecks": [
{
"name": "<string>",
"description": "<string>",
"status": "PASSED",
"metadata": {
"type": "<string>",
"lastPulseLoadTime": 123,
"crossoverPercent": 123,
"assignmentSourceID": "<string>",
"assignmentSourceName": "<string>",
"foreignExperimentID": "<string>",
"deduplication_rate": 123,
"deduplication_rates": [
{
"group_id": "<string>",
"rate": 123,
"group_name": "<string>"
}
],
"primary_id_type": "<string>",
"secondary_id_type": "<string>",
"missingMetrics": [
"<string>"
],
"metrics": [
{
"metric_name": "<string>",
"earliest_date": "2023-11-07T05:31:56Z",
"latest_date": "2023-11-07T05:31:56Z"
}
],
"lastUpdatedDs": "<string>"
},
"type": "has_checks"
}
],
"healthCheckStatus": "PASSED",
"owner": {
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "owner123@test.com"
},
"inlineTargetingRulesJSON": "<string>"
}
}
Assistant
Responses are generated using AI and may contain mistakes.