Decision API for high-risk systems

Control who can do what, before risk becomes loss.

Veras evaluates users, agents, actions, and context to return an enforceable decision in real time.

Scenarios

Request Payload

{
  "actor": "agent_789",
  "action": "domain.purchase",
  "resource": "domain:veras.dev",
  "context": {
    "account_age_days": 3,
    "chargebacks": 0,
    "refund_attempts": 0,
    "autonomous_agent": true,
    "daily_spend": 900
  }
}

Decision Response

{
  "decision": "require_review",
  "reason": "autonomous_agent_high_value_action",
  "action": "pause_and_escalate",
  "controls": {
    "human_approval_required": true,
    "rate_limit": "3/day",
    "mfa_required": true
  },
  "policy_id": "agent_guardrail_v1"
}