Exposing Your APIs with openapi.json

To make your documentation content accessible to AI tools, search engines, and developer platforms like Microsoft Copilot, it's helpful to provide a machine-readable API specification using the openapi.json format. This allows external systems to understand how to interact with your help content programmatically.

What is openapi.json?

openapi.json is a standard file based on the OpenAPI Specification that describes an API's endpoints, parameters and responses in a structured JSON format. It's widely supported by developer tools, SDK generators and AI platforms.

Why Publish an openapi.json File?

HelpGuides Support for openapi.json

HelpGuides generates an openapi.json file for your site automatically. It describes your site's public search API, so AI platforms and other tools can search your published articles. It's at the root of your site. For example:

https://docs.helpguides.io/openapi.json

The search API

The API has one endpoint. It needs no authentication and only returns published articles.

GET https://YOUR-DOMAIN/api/v1/public/search?s=reset%20password
ParameterRequiredDescription
sYesWhat to search for. Start with keyword: to match exact words instead of meaning.
article_onlyNotrue to return each article once. By default, results are sections of articles, so an article can appear more than once.

It returns up to 10 results. Each has the article's postuid, title, slug, status, the matching section and its anchor, the section's content, an excerpt with matches highlighted, and the date it was last updated:

{ "results": { "posts": [ { "postuid": "a19f3448-66a3-41ce-a2e1-dcc001551152", "title": "Add Claude as an MCP Connector", "slug": "article/adding-helpguides-to-claude-as-an-mcp-connector", "status": "Published", "content": "Your MCP URL is unique to your HelpGuides project...", "date_updated": "2026-08-12T17:35:58.707+00:00", "section": "Finding your MCP URL", "section_anchor": "#finding_your_mcp_url", "excerpt": "Your <em>MCP</em> URL is unique to your HelpGuides project..." } ], "answer": "", "is_answered": false, "is_streaming": false } }

This endpoint returns articles only; it doesn't write an AI answer. For answers, see AI Answers on Your Help Site. To let an AI assistant read and edit your documentation, see Model Context Protocol.