{
  "openapi": "3.1.0",
  "info": {
    "title": "LUMEN B2B A2A Gateway",
    "version": "1.0-global-agent-discovery",
    "description": "Public machine interface for LUMEN B2B sourcing, procurement intelligence, machine-readable service discovery and non-binding commercial requests."
  },
  "servers": [
    {
      "url": "https://lumen-zero-a2a.lumen-b2b.workers.dev"
    }
  ],
  "externalDocs": {
    "description": "A2A Agent Card",
    "url": "https://lumen-zero-a2a.lumen-b2b.workers.dev/.well-known/agent-card.json"
  },
  "tags": [
    {
      "name": "A2A",
      "description": "Agent-to-Agent JSON-RPC"
    },
    {
      "name": "Catalog",
      "description": "Machine-readable commercial catalogs"
    },
    {
      "name": "Discovery",
      "description": "Public agent discovery surfaces"
    }
  ],
  "paths": {
    "/a2a/v1": {
      "post": {
        "tags": [
          "A2A"
        ],
        "summary": "Send an A2A JSON-RPC request",
        "description": "Supports LUMEN A2A messaging, task status and non-binding quote methods exposed by the live gateway.",
        "requestBody": {
          "required": true,
          "content": {
            "application/json": {
              "schema": {
                "type": "object",
                "additionalProperties": true
              }
            }
          }
        },
        "responses": {
          "200": {
            "description": "A2A JSON-RPC response"
          }
        }
      }
    },
    "/.well-known/agent-card.json": {
      "get": {
        "tags": [
          "Discovery"
        ],
        "summary": "A2A v1.0 Agent Card",
        "responses": {
          "200": {
            "description": "Public Agent Card"
          }
        }
      }
    },
    "/discovery.json": {
      "get": {
        "tags": [
          "Discovery"
        ],
        "summary": "LUMEN discovery index",
        "responses": {
          "200": {
            "description": "Discovery metadata"
          }
        }
      }
    },
    "/machine/catalog": {
      "get": {
        "tags": [
          "Catalog"
        ],
        "summary": "Machine Store catalog",
        "responses": {
          "200": {
            "description": "Fixed-price machine products and recurring plans"
          }
        }
      }
    },
    "/seller/catalog": {
      "get": {
        "tags": [
          "Catalog"
        ],
        "summary": "Full B2B service catalog",
        "responses": {
          "200": {
            "description": "LUMEN full-service catalog"
          }
        }
      }
    },
    "/revenue/catalog": {
      "get": {
        "tags": [
          "Catalog"
        ],
        "summary": "Revenue Expansion catalog",
        "responses": {
          "200": {
            "description": "Subscriptions and success-fee offers"
          }
        }
      }
    },
    "/payments/status": {
      "get": {
        "tags": [
          "Catalog"
        ],
        "summary": "Public settlement readiness",
        "responses": {
          "200": {
            "description": "Collection readiness without outgoing-spend authority"
          }
        }
      }
    },
    "/health": {
      "get": {
        "tags": [
          "Discovery"
        ],
        "summary": "Gateway health",
        "responses": {
          "200": {
            "description": "Operational status"
          }
        }
      }
    }
  }
}