Assess risk for a single agent action
Risk
Assess risk for a single agent action
Compute an individual risk assessment for an agent about to take an action. Requires JWT auth and the risk_assessment feature flag on the caller’s plan. Dispatches a ZK proof request asynchronously (best-effort; check /risk/proofs/{proof_id} to retrieve). Cached for 5 minutes per {agent_id, action_type, risk_tolerance, amount} tuple.
POST
Assess risk for a single agent action
Authorizations
Supabase JWT token in Authorization: Bearer header
Body
application/json
Response
Risk assessment.
Individual risk assessment row (ra-…). Produced by POST /risk/assess.
0–1000 integer (higher = riskier).
Available options:
low, moderate, high, critical Available options:
proceed, proceed_with_caveats, require_approval, block Available options:
insufficient, low, medium, high Available options:
none, pending, completed, failed