{"uid":"cap_xKTsAiEr5Pick0cove0Pe","slug":"api-actiongate-xyz-65cb8924","name":"ActionGate Risk Score API","description":"Score action risk before execution.","url":"https://api.actiongate.xyz/v1/risk-score","method":"POST","headers":{},"bodySchema":{"type":"object","properties":{"actor":{"type":"object","required":["actor_id"],"properties":{"actor_id":{"type":"string"},"wallet_address":{"type":"string"}},"additionalProperties":true},"action":{"type":"object","required":["action_type"],"properties":{"amount":{"type":"string"},"target":{"type":"string"},"network":{"type":"string"},"action_type":{"type":"string"},"asset_symbol":{"type":"string"}},"additionalProperties":true},"context":{"type":"object","additionalProperties":true},"request_id":{"type":"string"}}},"responseSchema":null,"example":{"request":{"input":{"body":{"actor":{"actor_id":"test-agent-001"},"action":{"action_type":"read_data"},"request_id":"req-qa-test-001"},"type":"http","bodyType":"json"}},"response":{"score":46,"severity":"medium","confidence":0.55,"latency_ms":0,"request_id":"req-qa-test-001","reason_codes":[{"code":"TREASURY_BASELINE","message":"Applied deterministic treasury transfer baseline."},{"code":"MISSING_TARGET","message":"Transfer target is missing, reducing confidence in the action."}],"usage_receipt":{"currency":"USD","signature":"99b5e827bb7fc4ae127eb6b1d038637d4722d22fc892f110ebb5e8d8a1b369b0","request_id":"req-qa-test-001","units_billed":1,"payment_reference":"pay_req-qa-test-001","price_per_unit_usd":"0.02"},"confidence_sources":["threshold_analysis"]}},"exampleRequest":{"actor":{"actor_id":"test-agent-001"},"action":{"action_type":"read_data"},"request_id":"req-qa-test-001"},"tags":["x402"],"displayCostAmount":"0.02","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"settled","requiresHandshake":false,"reviewCount":0,"rating":{"score":"0.00","successRate":"0.00","reviews":0,"stars":null,"state":"unrated"},"availabilityStatus":"unknown","priceObserved":null,"sessionDeposit":null,"pricing":{"kind":"static","summary":"$0.02/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.02","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_znYHKGNAq3BygOP5NYiTc","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.02","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Scores the risk of a proposed autonomous agent action before execution, enabling pre-execution policy gating","exampleAgentPrompt":"Before my AI agent executes this action — transferring 500 USDC to wallet 0xABC... — run a risk score on it and tell me whether it passes the policy gate or should be blocked.","exampleUseCases":null,"resultDescription":"Returns a numeric risk score and a policy gate decision (allow/block) for the proposed agent action, enabling the agent to decide whether to proceed or halt execution.","failureModes":["Invalid or malformed action payload returns 400 error","Insufficient USDC balance for $0.02 per-call fee results in payment failure","Unknown action type or unsupported schema returns validation error","Timeout if action context is too large or complex","Service unavailable returns 503"],"whenToPreferThis":"Use this endpoint when you need a fast, paid, per-call risk score specifically for autonomous agent pre-execution decisions — particularly when you need a policy gate that can block or allow actions before they are committed. Prefer this over internal heuristics when compliance, auditability, or safety guarantees are required for agentic workflows.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-09-15T00:33:18.840Z","isFirstParty":false}