{"openapi": "3.1.0", "info": {"title": "FastMesh Code-Mode SuperBus API", "version": "1.0.0", "summary": "One <2.5 KB Code-Mode MCP gateway routing 160+ FastMesh, Swallow, and zero-secret tools.", "description": "Exposes 4 flat MCP meta-tools (fastmesh_search, fastmesh_describe, fastmesh_call, fastmesh_job_status) under 2,560 bytes with verified-hit billing ($0 on miss/fake-200), 7d-30d cross-tenant archive caching, and zero customer trajectory resale.", "contact": {"name": "FastMesh Support", "email": "support@fastmesh.dev", "url": "https://mcp.fastmesh.dev"}}, "servers": [{"url": "https://mcp.fastmesh.dev", "description": "Production HTTPS MCP Gateway"}], "x-fastmesh-invariants": {"tools_list_compact_bytes": 1146, "tools_list_default_bytes": 1237, "tools_list_budget_bytes": 2560, "under_2560_bytes": true, "zero_secret_mode": true, "zero_charge_on_miss": true, "zero_trajectory_resale": true, "catalog_counts": {"fastmesh": 56, "swallow": 84, "register_anything": 76, "total": 216}}, "components": {"securitySchemes": {"BearerAuth": {"type": "http", "scheme": "bearer"}, "FastMeshKey": {"type": "apiKey", "in": "header", "name": "X-FastMesh-Key"}}}, "paths": {"/health": {"get": {"operationId": "getHealth", "summary": "Service health, <2.5 KB tools/list footprint, and 3-source catalog counts", "responses": {"200": {"description": "Healthy JSON status payload"}}}}, "/mcp": {"post": {"operationId": "postMcpJsonRpc", "summary": "Streamable HTTP MCP JSON-RPC 2.0 endpoint (4 flat meta-tools)", "security": [{}, {"BearerAuth": []}, {"FastMeshKey": []}], "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "required": ["jsonrpc", "method"], "properties": {"jsonrpc": {"type": "string", "const": "2.0"}, "id": {"type": ["string", "integer", "null"]}, "method": {"type": "string"}, "params": {"type": "object"}}}}}}, "responses": {"200": {"description": "JSON-RPC 2.0 response"}, "202": {"description": "JSON-RPC notification accepted"}, "401": {"description": "Missing or invalid API key for paid call"}}}}, "/api/try": {"post": {"operationId": "postTryNow", "summary": "5-second zero-signup Try-Now console (search, describe, preview_call)", "requestBody": {"required": true, "content": {"application/json": {"schema": {"type": "object", "required": ["action"], "properties": {"action": {"type": "string", "enum": ["search", "describe", "preview_call"]}, "query": {"type": "string"}, "source": {"type": "string"}, "category": {"type": "string"}, "limit": {"type": "integer"}, "tool_id": {"type": "string"}, "args": {"type": "object"}}}}}}, "responses": {"200": {"description": "Zero-charge Try-Now response"}}}}, "/webhooks/creem": {"post": {"operationId": "postCreemWebhook", "summary": "Creem HMAC-SHA256 verified idempotent credit top-up webhook", "responses": {"200": {"description": "Idempotent credit receipt"}, "401": {"description": "Invalid HMAC-SHA256 signature"}}}}, "/llms.txt": {"get": {"operationId": "getLlmsTxt", "summary": "Machine-readable LLM service index", "responses": {"200": {"description": "Plain text index"}}}}, "/skill.md": {"get": {"operationId": "getSkillMd", "summary": "Agent integration handbook", "responses": {"200": {"description": "Markdown skill guide"}}}}, "/pages/{slug}": {"get": {"operationId": "getGrowthPage", "summary": "Serve verified SEO/GEO catalog landing page", "parameters": [{"name": "slug", "in": "path", "required": true, "schema": {"type": "string"}}], "responses": {"200": {"description": "HTML landing page"}, "404": {"description": "Page not found"}}}}}}