v1
latestOpenAPI 3.0.22026-08-061611.1 KBEvaluate entity
Evaluates an entity against the tenant's configured recommendation rules. The entity is enriched with third-party intelligence data and matched against enabled rules in priority order. Only the first matching production rule applies to the returned recommendation. Any matching preview rule is returned separately in preview_rule for impact analysis without affecting the final decision. If no production rule matches, the recommendation defaults to ALLOW.
post/evaluate
Request body
Example request
{
"entity_type": "ip_address",
"entity_value": "1.2.3.4"
}Response
Entity evaluated successfully.
Example response
{
"entity_type": "ip_address",
"entity": "1.2.3.4",
"recommendation": "DENY",
"matched_rule": {
"rule_name": "Block restricted jurisdictions"
},
"data": {
"country_code": "CN",
"asn_id": "AS4134",
"organization_name": "Example ISP",
"organization_type": "hosting",
"ip_timezone": "Asia/Shanghai",
"ip_is_vpn": true
},
"preview_rule": {
"rule_name": "Flag suspicious IPs",
"recommendation": "DENY"
}
}