Try a safe verification

Run one controlled demo path: create a limited trial key, verify one safe read-only sandbox action, then view the public trust receipt.

The demo does not move funds, confirm topups, call external tools, fetch arbitrary URLs, or bypass payment for non-trial traffic.

1. Create a limited trial keyUse a demo-trial scoped key. The raw key is shown once and should not be logged or committed.
2. Run a safe verificationUse a read-only sandbox action with no external side effects, no wallet, and no payment confirmation.
3. View a trust receiptUse the receipt ID returned by verify. Public receipt output contains safe receipt fields only.

Create demo trial key

Request

curl -X POST https://ai-risk-oracle.fly.dev/onboard \
  -H "Content-Type: application/json" \
  -d '{"scope":"demo_trial","name":"demo_trial_builder","api_key_name":"demo_trial_key"}'

Expected outputs

Demo trial key response

{
  "ok": true,
  "message": "account_created",
  "api_key": "interai_demo_...shown_once",
  "safety": {
    "scope": "demo_trial",
    "demo_trial": true,
    "api_key_shown_once": true,
    "max_verifications": 5,
    "no_wallet_movement": true,
    "no_topup_confirmation": true
  },
  "trial": {
    "estimated_verify_calls": 5
  },
  "next_steps": [
    "Call POST /verify with a safe read-only sandbox payload.",
    "Open the returned trust_receipt.receipt_id with GET /trust/receipts/{receiptId}."
  ]
}

Verify response

{
  "request_contract": "autonomous_execution",
  "risk_level": "low",
  "recommended_action": "allow",
  "policy_result": "allow",
  "policy_violations": [],
  "trust_receipt_id": "tr_...",
  "trust_receipt": {
    "receipt_id": "tr_..."
  }
}

Verify safe read-only action

Request

curl -X POST https://ai-risk-oracle.fly.dev/verify \
  -H "Authorization: Bearer DEMO_TRIAL_API_KEY" \
  -H "Content-Type: application/json" \
  -H "X-Idempotency-Key: demo-safe-1" \
  -d '{"use_case":"agent-before-tool-execution","action":{"type":"read_only_lookup","name":"check_order_status","description":"Read a demo order status in a sandbox","external_side_effect":false,"irreversible":false},"context":{"agent_id":"agent_demo_safe","environment":"sandbox","user_confirmation":true},"policy":{"max_risk_level":"medium","require_trust_receipt":true,"require_human_review_above":0.75}}'

View receipt

Request

curl https://ai-risk-oracle.fly.dev/trust/receipts/RECEIPT_ID_FROM_VERIFY

Receipt response

{
  "ok": true,
  "receipt": {
    "receipt_id": "tr_...",
    "request_contract": "autonomous_execution",
    "risk_level": "low",
    "recommended_action": "allow",
    "policy_result": "allow",
    "trust_receipt_id": "tr_...",
    "signals": {}
  },
  "verification": {
    "signed": true,
    "signature_alg": "hmac-sha256"
  }
}

Safety boundaries

This demo is scoped as demo_trial, expires quickly, has low verify quota, and is rate limited.

Next step after demo