curl --request GET \
--url https://statsigapi.net/console/v1/dynamic_configs/{id} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Dynamic config read successfully.",
"data": {
"id": "a_dynamic_config",
"description": "helpful summary of what this dynamic config does",
"idType": "userID",
"lastModifierID": "1vaQaBoLlkauH9iiuOSBP2",
"lastModifierName": "CONSOLE API",
"creatorEmail": "johnsmith@mydomain.com",
"creatorName": "John Smith",
"createdTime": 1674769467002,
"lastModifiedTime": 1707344887865,
"lastModifierEmail": null,
"holdoutIDs": [],
"isEnabled": true,
"rules": [
{
"name": "All Conditions",
"id": "38ttpCpzrQFTMKcqFKk02l:10.00:1",
"baseID": "38ttpCpzrQFTMKcqFKk02l",
"passPercentage": 10,
"conditions": [
{
"type": "public",
"operator": "string",
"targetValue": 0,
"field": "string",
"customID": "string"
}
],
"returnValue": {
"key": true
}
}
],
"defaultValue": {
"key": "the default value"
},
"tags": [
"a tag"
]
}
}
curl --request GET \
--url https://statsigapi.net/console/v1/dynamic_configs/{id} \
--header 'STATSIG-API-KEY: <api-key>'
{
"message": "Dynamic config read successfully.",
"data": {
"id": "a_dynamic_config",
"description": "helpful summary of what this dynamic config does",
"idType": "userID",
"lastModifierID": "1vaQaBoLlkauH9iiuOSBP2",
"lastModifierName": "CONSOLE API",
"creatorEmail": "johnsmith@mydomain.com",
"creatorName": "John Smith",
"createdTime": 1674769467002,
"lastModifiedTime": 1707344887865,
"lastModifierEmail": null,
"holdoutIDs": [],
"isEnabled": true,
"rules": [
{
"name": "All Conditions",
"id": "38ttpCpzrQFTMKcqFKk02l:10.00:1",
"baseID": "38ttpCpzrQFTMKcqFKk02l",
"passPercentage": 10,
"conditions": [
{
"type": "public",
"operator": "string",
"targetValue": 0,
"field": "string",
"customID": "string"
}
],
"returnValue": {
"key": true
}
}
],
"defaultValue": {
"key": "the default value"
},
"tags": [
"a tag"
]
}
}
Optional header to respect review settings for mutation endpoints.
id
Get Dynamic Config Response
The response is of type object
.