Skip to main content

Evaluate a rule

POST 

/v1/rules/:ruleKey/evaluate

Evaluates the active rule identified by ruleKey against the provided context. The context is an arbitrary JSON object passed directly to the rule evaluation engine. Missing fields are treated as null.

Caching: On first evaluation, the rule is loaded from the database and a rule engine instance is cached keyed by ruleKey:version. Subsequent evaluations for the same version use the cached engine instance.

Sensitive Data: The context and result fields may contain AML/KYC customer data. These fields are never logged; only ruleKey and evaluation duration are logged.

Request

Responses

Rule evaluated successfully