{"openapi":"3.1.0","info":{"title":"Botopia M2M Gateway | LOTG Labs","description":"\n### 🛡️ Real-Time Machine-to-Machine (M2M) Intelligence & Early Warning System\n**LOTG Labs Data Refinery** provides high-speed, structured JSON feeds to prevent autonomous AI agent failure caused by silent API deprecations, breaking schema changes, and vendor sunsets.\n\n---\n\n### 💳 Dual-Rail Access & Pricing ($0.07 USD / Query)\nQuery any platform vault using two seamless machine payment rails:\n\n1. **Pre-Funded Ledger (`X-API-Key`):**\n   * Deducts **$0.07 USD** directly from your pre-funded credit balance.\n   * Instant authorization for high-frequency agent orchestrators.\n   * 👉 **[Purchase Pre-Funded Query Credits via Stripe](https://buy.stripe.com/3cI14o6ZD50W6ykfDs0Ba00)**\n\n2. **Direct Micropayment Authorization (`X-PAYMENT`):**\n   * Attach a dynamic x402 payment authorization header for per-call settlement.\n   * Unauthenticated requests halt with `HTTP 402 Payment Required`.\n\n---\n\n### 🌐 Machine Discovery & MCP Protocols\n* **MCP Server Endpoint:** `https://agents.lilaonthegrid.com/mcp`\n* **Discovery Manifest:** `/.well-known/m2m-manifest.json`\n* **AI Context Map:** `/llms.txt`\n","version":"0.1.0"},"paths":{"/robots.txt":{"get":{"summary":"Serve Robots Txt","operationId":"serve_robots_txt_robots_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/llms-full.txt":{"get":{"tags":["Agent Discovery"],"summary":"Serve Llms Txt","operationId":"serve_llms_txt_llms_full_txt_get","responses":{"200":{"description":"Successful Response"}}}},"/agents.txt":{"get":{"summary":"Serve Llms Txt","operationId":"serve_llms_txt_agents_txt_get","responses":{"200":{"description":"Successful Response"}}}},"/llms.txt":{"get":{"summary":"Serve Llms Txt","operationId":"serve_llms_txt_llms_txt_get","responses":{"200":{"description":"Successful Response"}}}},"/.well-known/mcp-verify-claim.txt":{"get":{"tags":["Agent Discovery"],"summary":"Serve Mcp Verify Claim","description":"Serves domain ownership claim for GPTBot, human devs, and MCP indexers.","operationId":"serve_mcp_verify_claim__well_known_mcp_verify_claim_txt_get","responses":{"200":{"description":"Successful Response","content":{"text/plain":{"schema":{"type":"string"}}}}}}},"/.well-known/glama.json":{"get":{"tags":["Agent Discovery"],"summary":"Serve Glama Manifest","operationId":"serve_glama_manifest__well_known_glama_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/mcp/server-card.json":{"get":{"tags":["Agent Discovery"],"summary":"Serve Smithery Server Card","description":"Serves the standard MCP Server Card manifest safely without crashing ASGI.","operationId":"serve_smithery_server_card__well_known_mcp_server_card_json_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/x402.json":{"get":{"summary":"Serve x402 Spec (JSON format)","operationId":"get_x402_spec_json","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/x402":{"get":{"summary":"Serve x402 Spec (Base format)","operationId":"get_x402_spec_base","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/.well-known/agent-card.json":{"get":{"tags":["Agent Discovery"],"summary":"Agent Card Get 0","operationId":"get_agent_card__well_known_agent_card_json","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/mcp":{"get":{"tags":["Model Context Protocol"],"summary":"Handle Mcp Get And Head","description":"Lightweight capability summary for M2M probes.","operationId":"handle_mcp_get_and_head_mcp_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Model Context Protocol"],"summary":"Handle Mcp Request","description":"Native MCP Endpoint. Handles tools/list discovery and tools/call execution.","operationId":"handle_mcp_request_mcp_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"head":{"tags":["Model Context Protocol"],"summary":"Handle Mcp Get And Head","description":"Lightweight capability summary for M2M probes.","operationId":"handle_mcp_get_and_head_mcp_head","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/github":{"get":{"tags":["Platform Vault Feeds"],"summary":"GitHub Deprecations Feed","operationId":"get_github_deprecations_api_v1_github_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/openai":{"get":{"tags":["Platform Vault Feeds"],"summary":"OpenAI Deprecations Feed","operationId":"get_openai_deprecations_api_v1_openai_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/anthropic":{"get":{"tags":["Platform Vault Feeds"],"summary":"Anthropic Deprecations Feed","operationId":"get_anthropic_deprecations_api_v1_anthropic_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gemini":{"get":{"tags":["Platform Vault Feeds"],"summary":"Gemini Deprecations Feed","operationId":"get_gemini_deprecations_api_v1_gemini_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/stripe":{"get":{"tags":["Platform Vault Feeds"],"summary":"Stripe Deprecations Feed","operationId":"get_stripe_deprecations_api_v1_stripe_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/gcp":{"get":{"tags":["Platform Vault Feeds"],"summary":"GCP Deprecations Feed","operationId":"get_gcp_deprecations_api_v1_gcp_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/aws":{"get":{"tags":["Platform Vault Feeds"],"summary":"AWS Deprecations Feed","operationId":"get_aws_deprecations_api_v1_aws_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/vercel":{"get":{"tags":["Platform Vault Feeds"],"summary":"Vercel Deprecations Feed","operationId":"get_vercel_deprecations_api_v1_vercel_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/azure":{"get":{"tags":["Platform Vault Feeds"],"summary":"Azure Deprecations Feed","operationId":"get_azure_deprecations_api_v1_azure_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/cloudflare":{"get":{"tags":["Platform Vault Feeds"],"summary":"Cloudflare Deprecations Feed","operationId":"get_cloudflare_deprecations_api_v1_cloudflare_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/tenable":{"get":{"tags":["Platform Vault Feeds"],"summary":"Tenable Deprecations Feed","operationId":"get_tenable_deprecations_api_v1_tenable_get","security":[{"APIKeyHeader":[]}],"parameters":[{"name":"component","in":"query","required":false,"schema":{"type":"string","title":"Component"}},{"name":"severity","in":"query","required":false,"schema":{"type":"string","title":"Severity"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/m2m/feed":{"get":{"tags":["M2M Micropayments"],"summary":"Get M2M Pay Per Query Feed","operationId":"get_m2m_pay_per_query_feed_api_v1_m2m_feed_get","parameters":[{"name":"X-API-Key","in":"header","required":false,"schema":{"type":"string","title":"X-Api-Key"}},{"name":"X-PAYMENT","in":"header","required":false,"schema":{"type":"string","title":"X-Payment"}}],"responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}},"422":{"description":"Validation Error","content":{"application/json":{"schema":{"$ref":"#/components/schemas/HTTPValidationError"}}}}}}},"/api/v1/feed":{"get":{"tags":["Platform Vault Feeds"],"summary":"Master Intelligence Bundle Feed","operationId":"get_master_feed_api_v1_feed_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}},"/api/v1/auth/claim-starter-key":{"get":{"tags":["Monetization"],"summary":"Claim Starter API Key (Dual-Method GET/POST)","description":"Issues a fresh API key pre-loaded with $0.21 starter credit (3 queries @ $0.07).\nAccepts both browser GET navigations and programmatic POST payloads.\nEnforces Legal Armor terms and 4-pillar disclaimers.","operationId":"claim_starter_key_api_v1_auth_claim_starter_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}},"post":{"tags":["Monetization"],"summary":"Claim Starter API Key (Dual-Method GET/POST)","description":"Issues a fresh API key pre-loaded with $0.21 starter credit (3 queries @ $0.07).\nAccepts both browser GET navigations and programmatic POST payloads.\nEnforces Legal Armor terms and 4-pillar disclaimers.","operationId":"claim_starter_key_api_v1_auth_claim_starter_key_get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/":{"get":{"tags":["Compliance & Health"],"summary":"Health Check","operationId":"health_check__get","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}}}},"/api/v1/refresh":{"post":{"summary":"Trigger Vault Refresh","operationId":"trigger_vault_refresh_api_v1_refresh_post","responses":{"200":{"description":"Successful Response","content":{"application/json":{"schema":{}}}}},"security":[{"APIKeyHeader":[]}]}}},"components":{"schemas":{"HTTPValidationError":{"properties":{"detail":{"items":{"$ref":"#/components/schemas/ValidationError"},"type":"array","title":"Detail"}},"type":"object","title":"HTTPValidationError"},"ValidationError":{"properties":{"loc":{"items":{"anyOf":[{"type":"string"},{"type":"integer"}]},"type":"array","title":"Location"},"msg":{"type":"string","title":"Message"},"type":{"type":"string","title":"Error Type"},"input":{"title":"Input"},"ctx":{"type":"object","title":"Context"}},"type":"object","required":["loc","msg","type"],"title":"ValidationError"}},"securitySchemes":{"APIKeyHeader":{"type":"apiKey","in":"header","name":"X-API-Key"}}}}