{"openapi":"3.1.0","info":{"title":"86d.app public website API","version":"1.0.0","description":"Public endpoints for the 86d.app website. Use GET /api/agent for machine-readable discovery, POST /api/contact to reach the team, and https://86d.app/docs/guides/agent-connection for 86d Console OpenAPI and OAuth MCP. https://86d.app/docs/mcp is read-only documentation search and is separate from Console MCP. This document describes GET /api/agent and POST /api/contact only. It is not the signed-in 86d Console OpenAPI document. Store commerce HTTP endpoints are served from each store domain.","contact":{"name":"86d","email":"chat@86d.app","url":"https://86d.app/contact"}},"servers":[{"url":"https://86d.app","description":"86d.app"}],"tags":[{"name":"Discovery","description":"Machine-readable information and links for agents"},{"name":"Contact","description":"Human support and sales contact"}],"paths":{"/api/agent":{"get":{"operationId":"getAgentDiscovery","tags":["Discovery"],"summary":"Read the agent discovery document","description":"Returns a plain-language overview of 86d and links that distinguish website OpenAPI, signed-in Console OpenAPI, Console MCP, and Docs MCP. Includes registration and auth boundaries: operator-controlled OAuth client registration, no self-service client registration, and separate Store API keys. Unauthenticated readers should start at https://86d.app/docs/guides/agent-connection or /contact. No authentication is required.","responses":{"200":{"description":"86d overview and resource links","content":{"application/json":{"schema":{"$ref":"#/components/schemas/AgentDiscovery"}}}}}}},"/api/contact":{"post":{"operationId":"postContact","tags":["Contact"],"summary":"Submit a contact form message","description":"Sends a message to the 86d team. Provide a JSON object with name, email, and message. Phone and company are optional. Use this path for operator-registered agent client questions when self-service registration is not available. An error includes a code, a human-readable message, and a suggested next step when available.","requestBody":{"required":true,"content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactRequest"}}}},"responses":{"200":{"description":"Message accepted","content":{"application/json":{"schema":{"$ref":"#/components/schemas/ContactSuccess"}}}},"400":{"description":"Request body is not valid JSON or required contact details are missing or invalid","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}},"500":{"description":"Message could not be sent","content":{"application/json":{"schema":{"$ref":"#/components/schemas/Error"}}}}}}}},"components":{"schemas":{"AgentDiscovery":{"type":"object","required":["name","description","whenToUse","resources","surfaces","registration"],"properties":{"name":{"type":"string","description":"Product name"},"description":{"type":"string"},"whenToUse":{"type":"array","items":{"type":"string"},"description":"Situations where 86d may be useful"},"resources":{"type":"object","additionalProperties":{"type":"string","format":"uri"}},"surfaces":{"type":"object","description":"Website OpenAPI, Console OpenAPI, Console MCP, and Docs MCP distinctions"},"registration":{"type":"object","description":"OAuth client registration and credential-boundary facts"},"markdownConvention":{"type":"string"},"notes":{"type":"array","items":{"type":"string"}}}},"ContactRequest":{"type":"object","required":["name","email","message"],"properties":{"name":{"type":"string","minLength":1},"email":{"type":"string","format":"email"},"phone":{"type":"string"},"company":{"type":"string"},"message":{"type":"string","minLength":1}}},"ContactSuccess":{"type":"object","required":["success"],"properties":{"success":{"type":"boolean","const":true}}},"Error":{"type":"object","required":["error"],"properties":{"error":{"type":"object","required":["code","message"],"properties":{"code":{"type":"string","enum":["INVALID_JSON","VALIDATION_FAILED","DELIVERY_FAILED","METHOD_NOT_ALLOWED","NOT_FOUND"]},"message":{"type":"string"},"resolution":{"type":"string"},"details":{}}}}}}}}