curl --request GET \
--url https://statsigapi.net/console/v1/gates/{id}/versions \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "<string>",
"data": [
{
"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,
"checksPerHour": 123,
"status": "In Progress",
"type": "TEMPORARY",
"typeReason": "NONE",
"owner": {
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "owner123@test.com"
},
"isEnabled": true,
"rules": [
{
"name": "<string>",
"passPercentage": 50,
"conditions": [
{
"targetValue": [
"<string>"
],
"operator": "<string>",
"field": "<string>",
"customID": "<string>",
"type": "app_version"
}
],
"environments": [
"<string>"
],
"id": "<string>",
"baseID": "<string>",
"returnValue": {}
}
],
"measureMetricLifts": true,
"monitoringMetrics": [
{
"name": "<string>",
"type": "<string>"
}
],
"reviewSettings": {
"requiredReview": true,
"allowedReviewers": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
]
},
"precommitWebhook": {
"url": "<string>",
"internalStatusUrl": "<string>"
},
"activeReview": {
"reviewID": "<string>",
"reviewStatus": "<string>",
"description": "<string>"
}
}
],
"pagination": {
"itemsPerPage": 123,
"pageNumber": 123,
"nextPage": "<string>",
"previousPage": "<string>",
"totalItems": 123,
"all": "<string>"
}
}
Optional header to respect review settings for mutation endpoints.
id
List Gate Versions Success
The response is of type object
.
curl --request GET \
--url https://statsigapi.net/console/v1/gates/{id}/versions \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "<string>",
"data": [
{
"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,
"checksPerHour": 123,
"status": "In Progress",
"type": "TEMPORARY",
"typeReason": "NONE",
"owner": {
"ownerID": "user123",
"ownerType": "USER",
"ownerName": "John Doe",
"ownerEmail": "owner123@test.com"
},
"isEnabled": true,
"rules": [
{
"name": "<string>",
"passPercentage": 50,
"conditions": [
{
"targetValue": [
"<string>"
],
"operator": "<string>",
"field": "<string>",
"customID": "<string>",
"type": "app_version"
}
],
"environments": [
"<string>"
],
"id": "<string>",
"baseID": "<string>",
"returnValue": {}
}
],
"measureMetricLifts": true,
"monitoringMetrics": [
{
"name": "<string>",
"type": "<string>"
}
],
"reviewSettings": {
"requiredReview": true,
"allowedReviewers": [
{
"id": "<string>",
"name": "<string>",
"email": "<string>"
}
]
},
"precommitWebhook": {
"url": "<string>",
"internalStatusUrl": "<string>"
},
"activeReview": {
"reviewID": "<string>",
"reviewStatus": "<string>",
"description": "<string>"
}
}
],
"pagination": {
"itemsPerPage": 123,
"pageNumber": 123,
"nextPage": "<string>",
"previousPage": "<string>",
"totalItems": 123,
"all": "<string>"
}
}