{
  "openapi": "3.1.0",
  "info": {
    "title": "Diogenes Tier 1 Sovereign AI Gateway",
    "version": "3.0.0",
    "description": "Complete multi-protocol API suite exposing 41 microservices across all 45 Google Tier 1 models, EVE Frontier Smart Assembly tools, agent security guardrails, JSON repair, regex synthesis, MEV protection, and real-time Web3 intelligence."
  },
  "servers": [
    {
      "url": "https://diogenes-l402-gateway.corinth.workers.dev"
    }
  ],
  "components": {
    "securitySchemes": {
      "L402Payment": {
        "type": "apiKey",
        "name": "Authorization",
        "in": "header",
        "description": "L402 protocol challenge response: 'L402 <macaroon>:<preimage_hex>'"
      }
    }
  },
  "paths": {
    "/api/v1/health": {
      "get": {
        "summary": "Public Gateway Health & Specs"
      }
    },
    "/api/v1/models": {
      "get": {
        "summary": "Complete 45 Tier 1 Models Catalog"
      }
    },
    "/api/v1/eve-frontier/move-assembly-coder": {
      "post": {
        "summary": "EVE Frontier Sui Move Smart Assembly Coder (200 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/eve-frontier/gate-route-planner": {
      "post": {
        "summary": "EVE Frontier Smart Gate Route Planner (100 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/eve-frontier/network-node-gj-optimizer": {
      "post": {
        "summary": "EVE Frontier Network Node Energy Optimizer (100 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/agent/mcp-router": {
      "post": {
        "summary": "Autonomous MCP Tool Router & Call Planner (100 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/agent/schema-enforcer": {
      "post": {
        "summary": "Strict JSON Schema Enforcer (75 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/crypto/bridge-quote": {
      "post": {
        "summary": "Non-KYC Cross-Chain Settlement Route Comparator (100 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/x402/token-meta": {
      "post": {
        "summary": "Solana SPL Token Metadata & Depth ($0.02 USDC via x402)"
      }
    },
    "/api/v1/x402/whale-radar": {
      "post": {
        "summary": "Solana Whale & Insider Tracker ($0.05 USDC via x402)"
      }
    },
    "/api/v1/x402/embeddings": {
      "post": {
        "summary": "Agent Semantic Vector Embeddings ($0.01 USDC via x402)"
      }
    },
    "/api/v1/mpp/session-infer": {
      "post": {
        "summary": "Streaming Agent Inference ($0.05 USDC via MPP)"
      }
    },
    "/api/v1/mpp/deep-search": {
      "post": {
        "summary": "Grounded Deep Research Dossier ($0.10 USDC via MPP)"
      }
    },
    "/api/v1/mpp/code-sandbox": {
      "post": {
        "summary": "Secure Python Code Sandbox ($0.15 USDC via MPP)"
      }
    },
    "/api/v1/agent/guardrail-verify": {
      "post": {
        "summary": "Autonomous Agent Guardrail Gate (100 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/agent/contract-audit": {
      "post": {
        "summary": "Smart Contract Security Auditor (250 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/agent/web-brief": {
      "post": {
        "summary": "Real-Time Grounded Market Dossier (200 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/crypto/solana-risk": {
      "post": {
        "summary": "Solana Token & Wallet Risk Oracle (100 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/agent/json-repair": {
      "post": {
        "summary": "Autonomous JSON Error Repair (50 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/agent/regex-oracle": {
      "post": {
        "summary": "ReDoS-Safe Regex Synthesizer (50 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/crypto/mev-risk": {
      "post": {
        "summary": "Pre-Swap MEV Sandwich Risk Oracle (150 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/agent/prompt-compiler": {
      "post": {
        "summary": "Production Agent Prompt Compiler (100 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/antigravity-agent": {
      "post": {
        "summary": "Antigravity Autonomous Agent (500 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/deep-research": {
      "post": {
        "summary": "Deep Research Pro Autonomous Analyst (1000 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/computer-use": {
      "post": {
        "summary": "Computer Use Desktop Agent (800 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/generate": {
      "post": {
        "summary": "Universal Tier 1 Generator with Grounding (250 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/code-gen": {
      "post": {
        "summary": "Python Code & Scraper Synthesis (300 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/image-gen": {
      "post": {
        "summary": "Nano Banana Family Image Synthesis (350 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/tts": {
      "post": {
        "summary": "Neural Text-to-Speech Synthesis (200 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/music-gen": {
      "post": {
        "summary": "Lyria 3 Music Synthesis (500 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/video-gen": {
      "post": {
        "summary": "Veo 3 Video Synthesis (1500 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/audio-live": {
      "post": {
        "summary": "Live Audio & Dialog Processing (300 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/omni": {
      "post": {
        "summary": "Gemini Omni Multimodal Synthesis (300 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/robotics": {
      "post": {
        "summary": "Gemini Robotics ER 2 Embodied Reasoning (450 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/embeddings": {
      "post": {
        "summary": "Gemini Vector Embeddings (50 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/grounded-search": {
      "post": {
        "summary": "Google Search Grounded Reasoning (200 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/ai/grounded-maps": {
      "post": {
        "summary": "Google Maps Grounded Reasoning (250 sats)",
        "security": [
          {
            "L402Payment": []
          }
        ]
      }
    },
    "/api/v1/mempool-fee": {
      "get": {
        "summary": "Bitcoin Mempool Feerates (50 sats)"
      }
    },
    "/api/v1/swap-rate": {
      "get": {
        "summary": "Cross-Chain Swap Rate (100 sats)"
      }
    },
    "/api/v1/scrub-pii": {
      "post": {
        "summary": "Zero-PII Privacy Redaction (150 sats)"
      }
    },
    "/api/v1/clean-data": {
      "post": {
        "summary": "Data Cleanup & Deduplication (100 sats)"
      }
    }
  }
}