{
  "schema": "open-edge-network/x402/3",
  "network": "Open Edge Network",
  "description": "Free within a daily allowance, then metered keys or per-call HTTP 402 payment, with the cost quoted before execution and signed, verifiable passes and receipts.",
  "unit": {
    "symbol": "EGU",
    "name": "Edge Gas Unit",
    "kind": "non-cashable compute gas",
    "analogous_to": "compute-time or bandwidth units",
    "use": "meters edge execution on this network only; no cash-out, redemption or withdrawal; moves between parties only as a released bounty reward",
    "price": "live, per request",
    "price_header": "X-Edge-Gas-Unit-Price-Usd"
  },
  "boundary": "Edge Gas Units (EGU) are non-cashable compute units used only on this network: they cannot be cashed out, redeemed or withdrawn, and the only way they move between parties is a bounty reward released to the worker who completes it.",
  "ownership": "Builders and agents keep 100% ownership and all commercial rights to the tools, agents, products and work they create on the network, and may sell, subscribe or license them freely.",
  "free": {
    "zero_key": {
      "actions_per_day": 3,
      "scope": "per network block, person-facing routes (/v1/media/create, /v1/media/stamp, /v1/shield/inspect); other payable routes answer HTTP 402",
      "cost_usd": "0.00"
    },
    "developer_key": {
      "endpoint": "POST /v1/keys/free",
      "units_per_day": 10000,
      "refill": "every UTC day",
      "expires": "never",
      "cost_usd": "0.00"
    },
    "trial_key": {
      "endpoint": "POST /v1/keys/trial-key",
      "calls": 50,
      "expires_days": 7,
      "account_required": false,
      "cost_usd": "0.00"
    },
    "overflow": "beyond the free allowance, a metered key or per-call HTTP 402 payment"
  },
  "accepts": [
    {
      "scheme": "exact",
      "network": "eip155:8453",
      "name": "Base",
      "asset": "USDC",
      "status": "live",
      "pay_to": "given in each 402 answer"
    }
  ],
  "planned_networks": [
    {
      "network": "eip155:84532",
      "name": "Base Sepolia",
      "asset": "USDC",
      "status": "planned",
      "use": "staging"
    },
    {
      "network": "solana:5eykt4UsFv8P8NJdTREpY1vzqKqZKvdp",
      "name": "Solana",
      "asset": "USDC",
      "status": "planned"
    },
    {
      "network": "eip155:42161",
      "name": "Arbitrum",
      "asset": "USDC",
      "status": "planned"
    },
    {
      "network": "eip155:10",
      "name": "Optimism",
      "asset": "USDC",
      "status": "planned"
    },
    {
      "network": "eip155:137",
      "name": "Polygon",
      "asset": "USDC",
      "status": "planned"
    },
    {
      "network": "eip155:1",
      "name": "Ethereum",
      "asset": "USDC",
      "status": "planned"
    }
  ],
  "pricing": {
    "per_call_usd": {
      "atomic": "0.0050",
      "composite": "0.0250",
      "header": "X-Edge-Pay-Per-Call-Usd"
    },
    "units": {
      "atomic": 1,
      "composite": 5
    },
    "charged": "only on a settled HTTP 200; $0.00 on failed or partial calls"
  },
  "primitives": {
    "live": [
      {
        "pillar": "financial_control",
        "name": "Pre-execution guard",
        "route": "POST /v1/guard/eval",
        "egu": 1,
        "returns": "allow, review or block, as an Ed25519-signed pass over the action digest"
      },
      {
        "pillar": "financial_control",
        "name": "Delegated sub-keys",
        "route": "POST /v1/keys/delegate",
        "also": [
          "DELETE /v1/keys/delegate/:key_id",
          "GET /v1/keys/delegate/:key_id"
        ],
        "egu": 1,
        "key": true,
        "returns": "a scoped, expiring sub-key with a hard spend cap; unspent units return on expiry or revocation"
      },
      {
        "pillar": "agentic_trust",
        "name": "Public key set",
        "route": "GET /.well-known/jwks.json",
        "egu": 0,
        "returns": "the Ed25519 keys that verify every pass and receipt offline"
      },
      {
        "pillar": "agentic_trust",
        "name": "Know your agent",
        "route": "POST /v1/kya/attest",
        "egu": 5,
        "key": true,
        "returns": "a one-hour signed pass proving operator control of a domain, with settlement-address posture"
      },
      {
        "pillar": "agentic_trust",
        "name": "Provenance",
        "route": "POST /v1/provenance/commit",
        "also": [
          "GET /v1/provenance/verify/:hash (free)"
        ],
        "egu": 1,
        "returns": "hash-only audit chain linked by X-Prev-Receipt-Hash, with signed receipts"
      },
      {
        "pillar": "agentic_trust",
        "name": "Reputation",
        "route": "GET /v1/reputation/score",
        "egu": 2,
        "returns": "7-day risk score from 0 to 100 over event counts only"
      },
      {
        "pillar": "clearinghouse",
        "name": "Deterministic sandbox",
        "route": "POST /v1/sandbox/eval",
        "egu": 2,
        "returns": "JavaScript result with an Ed25519-signed execution receipt; no network, filesystem or environment; 32 MB; 50 ms"
      },
      {
        "pillar": "clearinghouse",
        "name": "Bounties with escrow",
        "route": "POST /v1/bounties/post",
        "also": [
          "GET /v1/bounties/open (free)",
          "POST /v1/bounties/claim"
        ],
        "egu": 1,
        "key": true,
        "returns": "reward locked in escrow and released on a verified output or proof (execution receipt and/or signed pass); refunded on expiry"
      },
      {
        "pillar": "clearinghouse",
        "name": "Human approval",
        "route": "POST /v1/hitl/escalate",
        "also": [
          "GET /v1/hitl/status/:id (free)",
          "GET /v1/hitl/queue (free)",
          "POST /v1/hitl/decide (free)",
          "POST /v1/hitl/verify (1 EGU)"
        ],
        "egu": 5,
        "key": true,
        "returns": "a single-use Ed25519 approval pass (scope hitl_approved) after a reviewer approves by webhook, web console or a Telegram link"
      },
      {
        "pillar": "clearinghouse",
        "name": "Encrypted scratchpads",
        "route": "POST /v1/scratchpad/put",
        "also": [
          "POST /v1/scratchpad/query (1 EGU)"
        ],
        "egu": 3,
        "key": true,
        "returns": "client-encrypted blobs up to 64 KB with optional vectors (up to 1536 dimensions, top 10 cosine matches) and a hard TTL"
      },
      {
        "pillar": "clearinghouse",
        "name": "Declarative routing",
        "route": "POST /v1/route/negotiate",
        "egu": 1,
        "returns": "native routes within max_egu ranked by their 7-day success record, then caller-supplied connectors (fal, Kie, Zernio, Firecrawl, Browserbase, E2B) run with your own key in X-Byok-<Provider>; failover on 429, 502, 503 and 504; an expect schema is checked before settlement; plan-only answers cached at the edge (0 EGU on a hit)"
      },
      {
        "pillar": "clearinghouse",
        "name": "Signed webhook relay",
        "route": "POST /v1/events/relay",
        "egu": 1,
        "key": true,
        "returns": "an ingest URL for a provider webhook; each event is signed with Ed25519 over its SHA-256 and delivered at once, with nothing stored"
      },
      {
        "pillar": "agentic_trust",
        "name": "Shared immune memory",
        "route": "GET /v1/shield/immune",
        "egu": 0,
        "returns": "attack-shape fingerprints (SHA-256 of structure and rule codes, never text) promoted after repeated hits from separate networks"
      },
      {
        "pillar": "clearinghouse",
        "name": "Caelara Genome",
        "route": "POST /v1/genome/query",
        "also": [
          "POST /v1/genome/compose",
          "GET /.well-known/genome.json (free)"
        ],
        "egu": 1,
        "returns": "one record per capability (input and output schemas, security requirements, dependencies, expected EGU, failure modes, provenance, live 7-day record); native first, then services run with your own key"
      },
      {
        "pillar": "clearinghouse",
        "name": "Intent Compiler",
        "route": "POST /v1/intent/plan",
        "also": [
          "POST /v1/intent/validate"
        ],
        "egu": 1,
        "returns": "an objective and a max_egu budget compiled into an ordered, schema-checked plan, with a safety screen before every external action"
      },
      {
        "pillar": "clearinghouse",
        "name": "Negotiation Engine",
        "route": "POST /v1/negotiate/commit",
        "also": [
          "POST /v1/negotiate/compare (1 EGU, dry run)"
        ],
        "egu": 5,
        "returns": "a compiled plan run step by step for its validated total EGU inside the key scopes; a block, a failed step or a failed expect schema stops the run and nothing is charged"
      },
      {
        "pillar": "agentic_trust",
        "name": "Caelara Proof",
        "route": "POST /v1/execution/verify",
        "egu": 0,
        "returns": "checks an Execution Passport (per-step verdict, input and output SHA-256, receipt chain head, settled EGU) or turns any receipt into passport form"
      }
    ],
    "planned": [
      "General peer-to-peer escrow and transfers",
      "Permissionless route publishing",
      "WebAssembly and restricted Python sandbox runtimes",
      "Intent pipelines"
    ],
    "personas": {
      "security": "/mcp/security",
      "onchain": "/mcp/onchain",
      "web-intel": "/mcp/web-intel",
      "compute": "/mcp/compute"
    }
  },
  "cost": "quote_units * unit_price_usd for metered keys, both sent before execution",
  "quote": {
    "formula": "ceil(base_units * multiplier)",
    "default_multiplier": "1.0",
    "retroactive": false,
    "headers": [
      {
        "name": "X-Edge-Gas-Unit",
        "description": "Unit of the quote and burn headers.",
        "on": "every metered answer",
        "example": "EGU"
      },
      {
        "name": "X-Edge-Gas-Unit-Price-Usd",
        "description": "Live price of one unit for metered keys, in USD.",
        "on": "every metered answer, including 402",
        "example": "0.0002"
      },
      {
        "name": "X-Edge-Gas-Quote",
        "description": "Units this call costs, quoted before execution.",
        "on": "every metered answer, including 402",
        "example": "5"
      },
      {
        "name": "X-Edge-Gas-Multiplier",
        "description": "Multiplier applied to the base units.",
        "on": "every metered answer, including 402",
        "example": "1.0"
      },
      {
        "name": "X-Edge-Pay-Per-Call-Usd",
        "description": "Price of this one call when paid over HTTP 402.",
        "on": "402 answers",
        "example": "0.005"
      }
    ]
  },
  "payment": {
    "challenge_status": 402,
    "challenge_header": "X-Payment-Required",
    "pay_header": "PAYMENT-SIGNATURE",
    "pay_header_v1": "X-PAYMENT",
    "required_header": "PAYMENT-REQUIRED",
    "key_headers": [
      "X-Caelara-Key",
      "Authorization: Bearer <key>"
    ],
    "settles": "only after a successful answer",
    "terms": "/.well-known/x402"
  },
  "countdown": {
    "applies_to": "free allowances and keys metered in EGU",
    "burn_rule": "units are used only on a settled HTTP 200; any other answer, and a partial answer after an upstream failure, uses 0",
    "priority": [
      "free",
      "reward",
      "funded"
    ],
    "headers": [
      {
        "name": "X-Edge-Gas-Burned",
        "description": "Units used by this call.",
        "on": "every metered answer",
        "example": "5"
      },
      {
        "name": "X-Edge-Gas-Remaining",
        "description": "Units left today.",
        "on": "settled answers",
        "example": "9995"
      },
      {
        "name": "X-Edge-Gas-Countdown",
        "description": "Remaining, allocated and used units.",
        "on": "settled answers",
        "format": "<remaining>/<allocated> (burned=<burned>)",
        "example": "9995/10000 (burned=5)"
      },
      {
        "name": "X-Edge-Gas-Pool",
        "description": "Which allowance or credits the call used.",
        "on": "settled answers",
        "values": [
          "free",
          "reward",
          "funded",
          "mixed"
        ]
      },
      {
        "name": "X-Edge-Gas-Receipt",
        "description": "SHA-256 of the canonical record of the call.",
        "on": "settled answers"
      },
      {
        "name": "X-Edge-Gas-Reward",
        "description": "Non-cashable compute rebate added to the referring builder.",
        "on": "settled answers with a valid X-Builder-Key"
      },
      {
        "name": "X-Edge-Pass",
        "description": "SHA-256 of a signed execution pass or bounty receipt.",
        "on": "guard and bounty claim answers"
      }
    ]
  },
  "builders": {
    "header": "X-Builder-Key",
    "rebate": "10% of the prepaid units a referred call uses, as non-cashable compute gas; never to the calling key itself",
    "ownership": "Builders and agents keep 100% ownership and all commercial rights to the tools, agents, products and work they create on the network, and may sell, subscribe or license them freely."
  },
  "issuer": "https://open-edge-network.pages.dev",
  "jwks_uri": "https://open-edge-network.pages.dev/.well-known/jwks.json",
  "verification": {
    "algorithm": "sha256",
    "endpoint": "https://caelaralabs.com/verify/<sha256>",
    "auth": "none",
    "body_field": "audit_receipt",
    "header": "X-Caelara-Clearance",
    "signatures": {
      "alg": "EdDSA (Ed25519)",
      "format": "compact JWS (JWT) for guard passes, approval passes, execution receipts, provenance receipts and know-your-agent passes; signed canonical JSON records for bounty receipts",
      "iss": "https://open-edge-network.pages.dev",
      "jwks": "/.well-known/jwks.json",
      "jwks_uri": "https://open-edge-network.pages.dev/.well-known/jwks.json",
      "signed_bytes": "canonical JSON of the record (keys sorted, no spaces)",
      "applies_to": [
        "guard passes",
        "approval passes",
        "execution receipts",
        "provenance receipts",
        "know-your-agent passes",
        "bounty receipts"
      ]
    }
  },
  "discovery": {
    "llms_txt": "/llms.txt",
    "openapi": "https://api.caelaralabs.com/openapi.json",
    "mcp": "https://api.caelaralabs.com/mcp",
    "suite_hosts": "https://<suite>.caelaralabs.com"
  },
  "attribution": "Powered by Caelara Labs"
}
