{
  "openapi": "3.1.0",
  "info": {
    "title": "AgentSLA Oracle & M2M Escrow API",
    "version": "2.1.0",
    "description": "Autonomous API discovery, Streamable HTTP MCP server (https://agentsla.io/mcp), EIP-712 SLA verification, and Circle USDC escrow resolution on Base Mainnet (Chain ID 8453, Contract 0x6ca6cDDd6EC59D75Ea0a36882AC57fc199Ba79CD)."
  },
  "servers": [
    {
      "url": "https://agentsla-oracle.agentsla-dev.workers.dev"
    }
  ],
  "paths": {
    "/v1/directory": {
      "get": {
        "summary": "List all SLA-monitored M2M APIs ranked by uptime score and category",
        "parameters": [
          {
            "name": "category",
            "in": "query",
            "required": false,
            "schema": {
              "type": "string"
            }
          }
        ]
      },
      "post": {
        "summary": "Register a new autonomous API endpoint into the directory"
      }
    },
    "/v1/verify": {
      "post": {
        "summary": "Probe an API, generate an EIP-712 attestation, and resolve on-chain Base Mainnet USDC escrow"
      }
    },
    "/v1/crawl": {
      "post": {
        "summary": "Trigger autonomous AI discovery of new and established APIs"
      }
    },
    "/api/attestations": {
      "get": {
        "summary": "Fetch latest cryptographic EIP-712 SLA proofs"
      }
    }
  }
}