curl --request GET \
--url https://statsigapi.net/console/v1/dynamic_configs/{id}/rules \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Dynamic Config rules read successfully.",
"data": [
{
"rules": [
{
"id": "5pjzfmF8KLFsh81kBPyxvR",
"baseID": "5pjzfmF8KLFsh81kBPyxvR",
"name": "rule name",
"passPercentage": 1,
"conditions": [
{
"type": "browser_name",
"targetValue": [],
"operator": "any"
}
],
"environments": null
},
{
"id": "6jQEnu1fCnXqjXhm1qGEnt",
"baseID": "6jQEnu1fCnXqjXhm1qGEnt",
"name": "Other2",
"passPercentage": 80,
"conditions": [],
"environments": null
},
{
"id": "4DonExIcOjSV8kG3WSQ5Zm",
"baseID": "4DonExIcOjSV8kG3WSQ5Zm",
"name": "Austin's fav rule",
"passPercentage": 8,
"conditions": [],
"environments": null
}
]
}
],
"pagination": {
"itemsPerPage": 20000,
"pageNumber": 1,
"totalItems": 1,
"nextPage": null,
"previousPage": null,
"all": ""
}
}curl --request GET \
--url https://statsigapi.net/console/v1/dynamic_configs/{id}/rules \
--header 'STATSIG-API-KEY: <api-key>'{
"message": "Dynamic Config rules read successfully.",
"data": [
{
"rules": [
{
"id": "5pjzfmF8KLFsh81kBPyxvR",
"baseID": "5pjzfmF8KLFsh81kBPyxvR",
"name": "rule name",
"passPercentage": 1,
"conditions": [
{
"type": "browser_name",
"targetValue": [],
"operator": "any"
}
],
"environments": null
},
{
"id": "6jQEnu1fCnXqjXhm1qGEnt",
"baseID": "6jQEnu1fCnXqjXhm1qGEnt",
"name": "Other2",
"passPercentage": 80,
"conditions": [],
"environments": null
},
{
"id": "4DonExIcOjSV8kG3WSQ5Zm",
"baseID": "4DonExIcOjSV8kG3WSQ5Zm",
"name": "Austin's fav rule",
"passPercentage": 8,
"conditions": [],
"environments": null
}
]
}
],
"pagination": {
"itemsPerPage": 20000,
"pageNumber": 1,
"totalItems": 1,
"nextPage": null,
"previousPage": null,
"all": ""
}
}Optional header to respect review settings for mutation endpoints.
id
Get Dynamic Config Rules Response
A simple string explaining the result of the operation.
Array of results returned by pagination limit.
Show child attributes
Show child attributes
The name of this rule.
Of the users that meet the conditions of this rule, what percent should return true.
0 <= x <= 100Must be a multiple of 0.01An array of Condition objects.
Show child attributes
app_version, browser_name, browser_version, country, custom_field, email, environment_tier, fails_gate, fails_segment, ip_address, locale, os_name, os_version, passes_gate, passes_segment, public, time, unit_id, user_id, url, javascript, device_model, target_app The environments this rule is enabled for.
The Statsig ID of this rule.
The base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout