Skip to main content
POST
Evaluate a rule against a target asset

Authorizations

Authorization
string
header
required

Runtime context-key (rctx_*) issued by the Ravi gateway. Required for every non-open scope. Bootstrap the first key with ravi daemon init-admin-key; rotate, derive, and revoke via the ravi context family. Specs: runtime/context-keys, sdk/auth.

Body

application/json
ruleId
string
required

Rule id to evaluate

apply
boolean

Actually apply tag changes (default: dry-run)

file
string

Load rule from a file path instead of the registry

target
string

Target (e.g. contact:)

Response

Success — body conforms to the @Returns schema.

apply
boolean
required
outcomes
object[]
required
ruleId
string
required
target
object
required
traces
object[]
required
{key}
any