{"openapi":"3.0.3","info":{"title":"GreenPow public agent-facing API","version":"0.1.0","description":"Minimal OpenAPI description of the public endpoints an autonomous agent or LLM can call on www.greenpow.io. The marketing site is intentionally read-mostly; only the contact endpoint accepts writes today, and it accepts HTML form submissions and replies with a 303 redirect to a localized confirmation page.","x-description-localized":{"en":"Minimal OpenAPI description of the public endpoints an autonomous agent or LLM can call on www.greenpow.io. The marketing site is intentionally read-mostly; only the contact endpoint accepts writes today, and it accepts HTML form submissions and replies with a 303 redirect to a localized confirmation page.","es":"Descripción OpenAPI mínima de los endpoints públicos que un agente autónomo o LLM puede llamar en www.greenpow.io. El sitio de marketing es intencionadamente de solo lectura en su mayoría; solo el endpoint de contacto acepta escrituras hoy, y acepta envíos de formularios HTML y responde con una redirección 303 a una página de confirmación localizada."}},"servers":[{"url":"/","description":"Same-origin"}],"paths":{"/api/contact":{"post":{"summary":"Submit a lead or platform-access request","x-summary-localized":{"en":"Submit a lead or platform-access request","es":"Envía un lead o una solicitud de acceso a la plataforma"},"description":"Server handler that accepts an HTML form submission and forwards leads to Pipedrive when credentials are configured, otherwise logs the submission. Responds with a 303 redirect to /{preferred_language}/contact?status=queued|sent.","x-description-localized":{"en":"Server handler that accepts an HTML form submission and forwards leads to Pipedrive when credentials are configured, otherwise logs the submission. Responds with a 303 redirect to /{preferred_language}/contact?status=queued|sent.","es":"Manejador de servidor que acepta un envío de formulario HTML y reenvía los leads a Pipedrive cuando hay credenciales configuradas; de lo contrario, registra el envío. Responde con una redirección 303 a /{preferred_language}/contact?status=queued|sent."},"requestBody":{"required":true,"content":{"application/x-www-form-urlencoded":{"schema":{"$ref":"#/components/schemas/ContactRequest"}},"multipart/form-data":{"schema":{"$ref":"#/components/schemas/ContactRequest"}}}},"responses":{"303":{"description":"Redirect to /{preferred_language}/contact?status=queued (Pipedrive not configured) or ?status=sent (Pipedrive call attempted).","x-description-localized":{"en":"Redirect to /{preferred_language}/contact?status=queued (Pipedrive not configured) or ?status=sent (Pipedrive call attempted).","es":"Redirección a /{preferred_language}/contact?status=queued (Pipedrive no configurado) o ?status=sent (llamada a Pipedrive intentada)."},"headers":{"Location":{"schema":{"type":"string"},"description":"Localized confirmation URL, e.g. /en/contact?status=sent.","x-description-localized":{"en":"Localized confirmation URL, e.g. /en/contact?status=sent.","es":"URL de confirmación localizada, p. ej. /en/contact?status=sent."}}}}}}},"/{locale}/agents":{"get":{"summary":"AI Discovery hub (HTML)","x-summary-localized":{"en":"AI Discovery hub (HTML)","es":"Hub de Descubrimiento de IA (HTML)"},"description":"Human- and machine-friendly entry point for agents and LLMs. Renders the primary answer, structured facts, files for agents, entities, actions, and citation rules.","x-description-localized":{"en":"Human- and machine-friendly entry point for agents and LLMs. Renders the primary answer, structured facts, files for agents, entities, actions, and citation rules.","es":"Punto de entrada apto para humanos y máquinas para agentes y LLM. Muestra la respuesta principal, los hechos estructurados, los archivos para agentes, las entidades, las acciones y las reglas de citación."},"parameters":[{"name":"locale","in":"path","required":true,"schema":{"type":"string","enum":["en","es"]}}],"responses":{"200":{"description":"HTML page.","x-description-localized":{"en":"HTML page.","es":"Página HTML."},"content":{"text/html":{}}}}}},"/.well-known/greenpow-agent.json":{"get":{"summary":"Structured facts about GreenPow for agents","x-summary-localized":{"en":"Structured facts about GreenPow for agents","es":"Hechos estructurados sobre GreenPow para agentes"},"responses":{"200":{"description":"Agent facts document.","x-description-localized":{"en":"Agent facts document.","es":"Documento de hechos para agentes."},"content":{"application/json":{}}}}}},"/.well-known/agent-action-manifest.json":{"get":{"summary":"Catalog of public actions available to agents","x-summary-localized":{"en":"Catalog of public actions available to agents","es":"Catálogo de acciones públicas disponibles para agentes"},"responses":{"200":{"description":"Action manifest.","x-description-localized":{"en":"Action manifest.","es":"Manifiesto de acciones."},"content":{"application/json":{}}}}}},"/llms.txt":{"get":{"summary":"Short llms.txt summary","x-summary-localized":{"en":"Short llms.txt summary","es":"Resumen breve llms.txt"},"responses":{"200":{"description":"Plain-text summary.","x-description-localized":{"en":"Plain-text summary.","es":"Resumen en texto plano."},"content":{"text/plain":{}}}}}},"/llms-full.txt":{"get":{"summary":"Extended llms-full.txt summary","x-summary-localized":{"en":"Extended llms-full.txt summary","es":"Resumen ampliado llms-full.txt"},"responses":{"200":{"description":"Plain-text long-form summary.","x-description-localized":{"en":"Plain-text long-form summary.","es":"Resumen extenso en texto plano."},"content":{"text/plain":{}}}}}}},"components":{"schemas":{"ContactRequest":{"type":"object","required":["name","email"],"properties":{"name":{"type":"string"},"email":{"type":"string","format":"email"},"company":{"type":"string"},"interest_type":{"type":"string","description":"Product slug, vertical slug, or 'platform'.","x-description-localized":{"en":"Product slug, vertical slug, or 'platform'.","es":"Slug de producto, slug de vertical o 'platform'."}},"stakeholder":{"type":"string"},"message":{"type":"string"},"preferred_language":{"type":"string","enum":["en","es"]},"agent_type":{"type":"string","description":"Set when the submitter is an autonomous agent.","x-description-localized":{"en":"Set when the submitter is an autonomous agent.","es":"Se establece cuando quien envía es un agente autónomo."}},"intended_use":{"type":"string"},"system_context":{"type":"string"}}}}}}