{
  "openapi": "3.1.0",
  "info": {
    "title": "Elite AI Empire site API",
    "version": "1.0.0",
    "description": "Read-only directory of the products run by Elite AI Holdings LLC, plus an email sign-up. The parent site sells nothing: get_checkout_link returns a pricing page, and each product bills on its own site. The same five tools are exposed over MCP at /mcp.",
    "contact": { "name": "Elite AI Holdings LLC", "email": "eliteaiempire@gmail.com", "url": "https://eliteaiempire.com/contact" }
  },
  "servers": [{ "url": "https://eliteaiempire.com" }],
  "paths": {
    "/v1/company": { "get": { "operationId": "get_company_info", "summary": "Company details and counts", "responses": { "200": { "description": "Company info", "content": { "application/json": { "schema": { "type": "object" } } } } } } },
    "/v1/companies": { "get": { "operationId": "list_companies", "summary": "Every product with group, status and site", "responses": { "200": { "description": "Product list", "content": { "application/json": { "schema": { "type": "object", "properties": { "companies": { "type": "array", "items": { "type": "object" } } } } } } } } } },
    "/v1/pricing": { "get": { "operationId": "list_pricing", "summary": "Rows of the live /pricing page", "responses": { "200": { "description": "Open products and pricing links", "content": { "application/json": { "schema": { "type": "object", "properties": { "pricing_page": { "type": "string" }, "products": { "type": "array", "items": { "type": "object" } } } } } } } } } },
    "/v1/checkout-link": { "get": { "operationId": "get_checkout_link", "summary": "Pricing page link for buying (the parent has no checkout)", "parameters": [{ "name": "company", "in": "query", "required": false, "schema": { "type": "string" } }], "responses": { "200": { "description": "Link", "content": { "application/json": { "schema": { "type": "object", "properties": { "kind": { "type": "string" }, "url": { "type": "string" } } } } } }, "400": { "description": "Unknown company" } } } },
    "/v1/search": { "get": { "operationId": "search_site", "summary": "Keyword search over products and pages", "parameters": [{ "name": "q", "in": "query", "required": true, "schema": { "type": "string" } }], "responses": { "200": { "description": "Results", "content": { "application/json": { "schema": { "type": "object" } } } }, "400": { "description": "Missing q" } } } },
    "/mcp": { "post": { "operationId": "mcp", "summary": "Model Context Protocol, JSON-RPC 2.0 (initialize, tools/list, tools/call)", "requestBody": { "required": true, "content": { "application/json": { "schema": { "type": "object" } } } }, "responses": { "200": { "description": "JSON-RPC response" } } } },
    "/api/lead": { "post": { "operationId": "email_signup", "summary": "Sign up for new-tool notes (consent required)", "requestBody": { "required": true, "content": { "multipart/form-data": { "schema": { "type": "object", "required": ["email", "consent"], "properties": { "email": { "type": "string", "format": "email" }, "consent": { "type": "string", "enum": ["1"] }, "source": { "type": "string" } } } } } }, "responses": { "200": { "description": "Saved" }, "400": { "description": "Bad email or no consent" }, "429": { "description": "Rate limited" }, "503": { "description": "Sign-up not switched on" } } } }
  }
}
