# GuardRoute.ai Fail-Closed Gate

> GuardRoute.ai Fail-Closed Gate is a paid API for AI agents from guardroute.ai, paid per call via x402, $0.025/call, status unknown (last checked 2026-10-30).

Evaluates an incoming action or request against risk policies and returns a deterministic routing decision (allow/deny) before the action is executed.

## Facts

- Endpoint: GET https://guardroute.ai/api/x402/fail-closed-gate?utm_source=zero.xyz
- Price: $0.025/call
- Payment: x402
- Status: unknown
- Last checked: 2026-10-30
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/guardroute-ai-fail-closed-gate-e5712dd8
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_-UcGkSRbITHz9rJwBf2Ee

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability guardroute-ai-fail-closed-gate-e5712dd8
```

Example prompt: 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.

## When to prefer this

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.

## Known failure modes

- 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

## How this service works

Live risk scoring and policy routing for wires, beneficiary changes, workflow actions, and AI-agent requests — before execution.

## Output

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.

## Request schema (JSON Schema)

```json
{
 "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"
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "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"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/guardroute-ai-fail-closed-gate-e5712dd8/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from guardroute.ai](https://www.zero.xyz/host/guardroute.ai/llms.txt)
