{
  "openapi": "3.1.0",
  "info": {
    "title": "Lumar Agentic Readiness Scanner",
    "version": "1.0.0",
    "description": "Scan a site for the agent-facing technologies it publishes."
  },
  "servers": [
    {
      "url": "https://agentic-readiness.lumar.io"
    }
  ],
  "paths": {
    "/api/scan": {
      "get": {
        "operationId": "scanSite",
        "summary": "Scan a domain or URL, streaming progress as server-sent events",
        "parameters": [
          {
            "name": "domain",
            "in": "query",
            "required": true,
            "description": "A domain such as \"example.com\", or a full URL to check that page too.",
            "schema": {
              "type": "string"
            }
          },
          {
            "name": "ua",
            "in": "query",
            "required": false,
            "description": "A user agent to send instead of the default crawler agent.",
            "schema": {
              "type": "string"
            }
          }
        ],
        "responses": {
          "200": {
            "description": "An event stream of progress events followed by one result event.",
            "content": {
              "text/event-stream": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    },
    "/healthz": {
      "get": {
        "operationId": "health",
        "summary": "Liveness check",
        "responses": {
          "200": {
            "description": "The service is up.",
            "content": {
              "text/plain": {
                "schema": {
                  "type": "string"
                }
              }
            }
          }
        }
      }
    }
  }
}