# x402 Agent Suite Pro – Mandate Compile

> x402 Agent Suite Pro – Mandate Compile is a paid API for AI agents from x402-agent-suite-production.up.railway.app, paid per call via x402, $0.08/call, status unknown (last checked 2026-09-14).

Compiles and validates an HTTP mandate (GET, HEAD, or DELETE) for x402 payment-gated infrastructure, returning whether the mandate is allowed and a summary.

## Facts

- Endpoint: POST https://x402-agent-suite-production.up.railway.app/api/mandate/compile
- Price: $0.08/call
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/x402-agent-suite-pro-mandate-compile-ad985cec
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_SzrHmCCgyhd1za8vW6O3S

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 x402-agent-suite-pro-mandate-compile-ad985cec -d '<json body>'
```

Example prompt: Compile an x402 HTTP mandate for a GET request so I can check whether it's allowed before routing it through the agent fleet's payment guard.

## When to prefer this

Use this endpoint when you need to compile and pre-validate an HTTP mandate (GET, HEAD, or DELETE) within the x402 agent infrastructure before routing it through guards, proxies, or pipelines. Prefer this over generic HTTP validation when you are operating within the x402 payment-gated ecosystem and need a structured allowed/summary response for agent decision-making.

## Known failure modes

- Missing required `input` field returns validation error
- Unsupported HTTP method (POST, PUT, PATCH) rejected — only GET, HEAD, DELETE allowed
- Invalid mandate type (non-'http' value) causes schema rejection
- Malformed input object with extra properties fails additionalProperties validation
- Payment not settled causes 402 response before mandate is compiled

## How this service works

24 paid x402 infrastructure APIs for AI agent fleets: buy advisor, audition coach, guard, proxy, MPP, attestations, and pipeline orchestration.

## Output

Returns a JSON object with `ok` (boolean indicating success), `allowed` (boolean indicating whether the mandate is permitted), and `summary` (a string describing the outcome of the compiled mandate evaluation).

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "queryParams": {
     "type": "object",
     "properties": {}
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string"
    },
    "example": {
     "type": "object",
     "required": [
      "ok",
      "allowed",
      "summary"
     ],
     "properties": {
      "ok": {
       "type": "boolean"
      },
      "allowed": {
       "type": "boolean"
      },
      "summary": {
       "type": "string"
      }
     }
    }
   }
  }
 }
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {
  "ok": true,
  "allowed": true,
  "summary": "Paid response after x402 settlement"
 }
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/x402-agent-suite-pro-mandate-compile-ad985cec/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402-agent-suite-production.up.railway.app](https://www.zero.xyz/host/x402-agent-suite-production.up.railway.app/llms.txt)
