Get Dynamic Config Rules
Get Dynamic Config Rules
get
https://statsigapi.net/console/v1/dynamic_configs/{id}/rulesAuthorizations
STATSIG-API-KEYstringrequiredapiKey (header)
Path parameters
idstringrequiredid
Response
application/json200· Get Dynamic Config Rules Response
messagestringrequiredA simple string explaining the result of the operation.
dataobject[]requiredShow child attributes
rulesobject[]requirednamestringrequiredThe name of this rule.
passPercentagenumberrequiredOf the users that meet the conditions of this rule, what percent should return true.
Constraints:
min: 0max: 100conditionsobject[]requiredAn array of Condition objects.
targetValueoneOfConstraints:
nullablestring[]number[]stringnumberoperatorstringfieldstringConstraints:
nullablecustomIDstringConstraints:
nullabletypestringrequiredAllowed values:
app_versionbrowser_namebrowser_versioncountrycustom_fieldemailenvironment_tierfails_gatefails_segmentip_addresslocaleos_nameos_versionpasses_gatepasses_segmentpublictimeunit_iduser_iduser_agenturljavascriptdevice_modeltarget_appexperiment_groupenvironmentsstring[]The environments this rule is enabled for.
Constraints:
nullableidstringThe Statsig ID of this rule.
baseIDstringThe base ID of this rule, i.e. without any added metadata. Will remain the exact same throughout
returnValueobjectThe return value of the rule.
completedAutomatedRolloutsobject[]Read-only: Automated rollout phases that have already completed.
timenumberpassPercentnumberrequiredpendingAutomatedRolloutsobject[]Read-only: Automated rollout phases that are scheduled but not yet complete.
timenumberpassPercentnumberrequiredpaginationobjectrequiredPagination metadata for checking if there is next page for example.
Show child attributes
itemsPerPagenumberrequiredConstraints:
format: doublepageNumbernumberrequiredConstraints:
format: doublenextPagestringrequiredConstraints:
nullablepreviousPagestringrequiredConstraints:
nullabletotalItemsnumberConstraints:
format: doubleallstringWas this helpful?