Skip to main content
POST
Dry-run policy evaluation

Authorizations

X-API-Key
string
header
required

Headers

API-Version
enum<string>
default:v1

API version (defaults to the latest supported version if omitted).

Available options:
v1
Idempotency-Key
string

Unique key (1-255 printable ASCII chars) used to safely retry write operations. Same key + body returns the cached response; same key + different body returns 409.

Required string length: 1 - 255

Body

application/json
actor_id
string

Specific API key ID or user ID of the initiator.

actor_type
string

Initiator class: apikey or session. Empty means rules on actor_type won't match.

amount
string

Amount as a human-readable decimal in the asset's display unit.

amount_raw
string

Amount as an integer in the asset's smallest base unit.

amount_usd
string

Approximate USD value of the amount, for USD-threshold rules.

asset_symbol
string

Symbol of the asset involved.

automation_rule_id
string

Identifier of the automation rule driving the operation, when automated.

chain
string

Blockchain the synthetic operation is on.

connection_id
string

Identifier of the connection the operation flows through, if any.

destination_type
string

Destination classification for the operation.

from_address
string

Sender address of the synthetic operation.

is_automated
boolean

Whether the operation is initiated by automation rather than a user.

network
string

Network the synthetic operation is on.

operation_type
string

Operation being evaluated (e.g. the transaction/operation type).

policy_id
string

Evaluate against this specific policy (any state) instead of the currently-enforced one. Absent uses the enforced policy.

source_type
string

Source classification of the funds/operation.

to_address
string

Recipient address of the synthetic operation.

token_address
string

Token contract address, for token operations.

tx_type
string

Transaction type of the synthetic operation.

user_id
string

Initiating user, for rules conditioning on the user.

vault_id
string

Vault the synthetic operation targets.

wallet_id
string

Wallet the synthetic operation targets.

Response

Success

allowed
boolean

Whether the synthetic request would be allowed.

Example:

false

delay_minutes
integer

Delay in minutes applied by a delay-action rule.

expiry_hours
integer

Approval expiry window in hours, when approval is required.

policy_id
string

Identifier of the policy that produced the decision.

reason
string

Human-readable explanation of the decision.

required_approvals
integer

Number of approvals required (the N in N-of-M), when approval is required.

requires_approval
boolean

True when the matched rule's action is require_approval.

result
string

Decision outcome: matched_rule, quorum, no_match, approved, rejected, awaiting_approval, or delayed.

Example:

"matched_rule"

rule_id
string

Identifier of the specific rule that matched, if any.

trace
object[]

Per-rule evaluation trace; omitted on no_match / quorum-only paths.