{
  "x402Version": 1,
  "name": "Rubric Protocol",
  "description": "Pay-per-attestation for AI decisions. An agent pays $0.005 USDC and receives an ML-DSA-65 (FIPS 204, post-quantum) signed attestation of its decision, anchored to Hedera mainnet HCS within ~60s. Payment metadata is sealed inside the ZK-committed attested payload \u2014 the evidence carries its own receipt. Verification and the audit portal are free and public.",
  "url": "https://rubric-protocol.com",
  "docs": "https://rubric-protocol.com/docs#x402-endpoints",
  "items": [
    {
      "resource": "https://rubric-protocol.com/v1/x402/tiered-attest",
      "type": "http",
      "method": "POST",
      "description": "One post-quantum-signed AI decision attestation, anchored to Hedera mainnet HCS. Send JSON {agentId, data}; receive {attestationId, verifyUrl, settlement}. Payment verified before mint, settled after \u2014 a failed mint is never charged.",
      "mimeType": "application/json",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "5000",
          "resource": "https://rubric-protocol.com/v1/x402/tiered-attest",
          "description": "One post-quantum-signed AI decision attestation, anchored to Hedera mainnet HCS.",
          "mimeType": "application/json",
          "payTo": "0xaB6731A0BcDf511c2842C768a03448075aB654ca",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "paid": {
            "type": "boolean"
          },
          "settled": {
            "type": "boolean"
          },
          "settlement": {
            "type": "object"
          },
          "attestationId": {
            "type": "string"
          },
          "status": {
            "type": "string"
          },
          "algorithm": {
            "type": "string"
          },
          "topic": {
            "type": "string"
          },
          "verifyUrl": {
            "type": "string"
          }
        }
      }
    },
    {
      "resource": "https://rubric-protocol.com/v1/x402/statement",
      "type": "http",
      "method": "POST",
      "description": "Signed monthly spend statement for one agent: totals, per-payment lines, Merkle root over the full ledger. The statement is itself an ML-DSA-65 attestation anchored to Hedera mainnet HCS. Wallet-bound: sold only to a wallet that has paid for the agent's attestations. Send JSON {agentId, period: YYYY-MM, format?: json|csv}. Free client-side renderer with local Merkle verification: https://rubric-protocol.com/statement.html",
      "mimeType": "application/json",
      "accepts": [
        {
          "scheme": "exact",
          "network": "base",
          "maxAmountRequired": "500000",
          "resource": "https://rubric-protocol.com/v1/x402/statement",
          "description": "Signed monthly x402 spend statement for one agent.",
          "mimeType": "application/json",
          "payTo": "0xaB6731A0BcDf511c2842C768a03448075aB654ca",
          "maxTimeoutSeconds": 120,
          "asset": "0x833589fCD6eDb6E08f4c7C32D4f71b54bdA02913",
          "extra": {
            "name": "USD Coin",
            "version": "2"
          }
        }
      ],
      "outputSchema": {
        "type": "object",
        "properties": {
          "success": {
            "type": "boolean"
          },
          "paid": {
            "type": "boolean"
          },
          "settled": {
            "type": "boolean"
          },
          "statement": {
            "type": "object"
          },
          "lines": {
            "type": "array"
          },
          "attestationId": {
            "type": "string"
          },
          "algorithm": {
            "type": "string"
          },
          "topic": {
            "type": "string"
          },
          "verifyUrl": {
            "type": "string"
          }
        }
      }
    },
    {
      "resource": "https://rubric-protocol.com/verify/v1/verify/{attestationId}",
      "type": "http",
      "method": "GET",
      "price": "free",
      "description": "Free public verification of any attestation: ML-DSA-65 signature validity, HCS anchor sequence, mirror-node URL. No payment, no API key \u2014 evidence must verify without permission."
    },
    {
      "resource": "https://rubric-protocol.com/audit/{attestationId}",
      "type": "http",
      "method": "GET",
      "price": "free",
      "description": "Human-readable audit portal for any attestation record."
    }
  ],
  "contact": "Scott@Rubric-Protocol.com",
  "lastUpdated": "2026-07-23"
}