{"uid":"cap_-UcGkSRbITHz9rJwBf2Ee","slug":"guardroute-ai-fail-closed-gate-e5712dd8","name":"GuardRoute.ai Fail-Closed Gate","description":"Live risk scoring and policy routing for wires, beneficiary changes, workflow actions, and AI-agent requests — before execution.","url":"https://guardroute.ai/api/x402/fail-closed-gate?utm_source=zero.xyz","method":"GET","headers":{},"bodySchema":{"type":"object","$schema":"https://json-schema.org/draft/2020-12/schema","required":["input","output"],"properties":{"input":{"type":"object","required":["type","method"],"properties":{"type":{"type":"string","const":"http"},"method":{"enum":["GET","HEAD","POST"],"type":"string"},"headers":{"type":"object","additionalProperties":{"type":"string"}},"queryParams":{"type":"object","additionalProperties":{"type":"string"}}},"additionalProperties":false},"output":{"type":"object","required":["type","example"],"properties":{"type":{"type":"string"},"example":{"type":"object"}}}}},"responseSchema":{"type":"json","example":{"ticker":"GUARD","network":"base","service":"GuardRoute.ai","success":true,"policyHash":"GUARD-3E6B87B64469","nodesPortal":"https://guardroute.ai/nodes","protocolToken":"0x3e6B87b64469a59A93432DdA3C44523c472a1b07","routeDecision":"ALLOW_DETERMINISTIC"}},"example":null,"exampleRequest":null,"tags":["x402"],"displayCostAmount":"0.025","displayCostAsset":"USDC","priceDynamic":false,"priceHint":null,"priceStatus":"priced","priceSource":"probe","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.025/call","primary":{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"},"accepted":[{"kind":"static","protocol":"x402","network":"base","amountUsd":"0.025","per":"call","confidence":"exact"}]},"paymentMethods":[{"uid":"pm_Up3yBqeNkwI8s0yV6ERxn","protocol":"x402","methodType":"crypto","chain":"base","mode":"charge","costAmount":"0.025","costPer":"request","priority":0,"asset":"0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913","unit":"request","depositMicros":null,"planRef":null}],"brandName":null,"brandSlug":null,"brandBaseUrl":null,"brandDocsUrl":null,"whatItDoes":"Evaluates an incoming action or request against risk policies and returns a deterministic routing decision (allow/deny) before the action is executed.","exampleAgentPrompt":"Before executing this beneficiary change request, run it through GuardRoute's fail-closed gate to get a deterministic allow-or-deny policy decision — use GET with the request type set to http and method POST.","exampleUseCases":[{"title":"Pre-execution gate for wire transfers","prompt":"Before sending this wire, run it through GuardRoute's risk gate and block it if the policy decision isn't ALLOW — I don't want any high-risk transfers going through automatically."},{"title":"AI agent action safety check","prompt":"My AI agent is about to trigger a workflow action — can you check it against GuardRoute's fail-closed policy gate first so it only proceeds if the decision comes back as allowed?"},{"title":"Beneficiary change compliance check","prompt":"We have a beneficiary account change request queued — run it through GuardRoute before it executes and tell me the policy hash and routing decision so I can log it for compliance."}],"resultDescription":"Returns a JSON object with a routing decision (e.g. ALLOW_DETERMINISTIC), a policy hash for audit logging, the GuardRoute service ticker and network (Base), the protocol token contract address, and a link to the nodes portal.","failureModes":["Insufficient USDC payment returns 402 Payment Required","Invalid or missing required input fields returns 400 Bad Request","Service unavailability returns 503, leaving the gate in fail-closed state (deny by default)","Malformed HTTP method enum value causes request rejection","Network congestion on Base may delay policy evaluation"],"whenToPreferThis":"Choose this endpoint when you need a hard, pre-execution gate that enforces a fail-closed posture — meaning if policy evaluation fails for any reason, the action is denied by default. Ideal for AI agent workflows, financial operations like wires and beneficiary changes, and any agentic action where executing before a risk check would be unacceptable.","instructions":null,"reviewSummary":null,"reviewSummaryHighlights":null,"reviewSummaryConcerns":null,"reviewSummaryGeneratedAt":null,"activationCount":0,"lastUsedAt":null,"lastSuccessfullyRanAt":null,"lastHealthCheckAt":"2026-10-30T19:04:14.852Z","isFirstParty":false,"canonicalSlug":"guardroute-ai-fail-closed-gate-e5712dd8"}