Skip to main content
GET
List Rules
Retrieve all rules for your account, including default rules from rule packs and custom rules from policy imports. Each rule includes an active field indicating whether it will run during validation. Use rule_id from this response in validation_scope.rules on Enforce Content. Custom IDs are prefixed cust_. For rulepack IDs, use id from Rule Packs, not rule_pack_id on this list. Untrained custom rules run on anchor_3_0_max.

Response

string
Your customer identifier
array
Default rules from rule packs
array
Custom rules from policy imports
integer
Total number of default rules (active + deactivated)
integer
Number of active default rules
integer
Total number of custom rules (active + deactivated)
integer
Number of active custom rules
integer
Total rules across default + custom
integer
Total active rules across default + custom