Copy your docs to your AI assistant
Plenty of API questions now start in an AI assistant. "How do I authenticate against this API?" gets a much better answer when the assistant has the real documentation in front of it. APIGit has a small feature for exactly that, and this post is honest about what it is and what it is not.
What it is
Every page of a published API document has a Copy page button near the page title. The arrow beside it opens a menu, and three of its items are about your assistant:
- Copy page copies the page as Markdown, ready to paste into any assistant. On an API reference it copies the document in its own format: OpenAPI or AsyncAPI with references resolved, or GraphQL as SDL.
- Open in ChatGPT opens ChatGPT in a new tab and starts a chat about the page.
- Open in Claude does the same with Claude.

How the two Open in items hand over the page depends on who can read it:
- A public guide or API reference. The assistant is given the page's Markdown address and reads it itself, so nothing of the page travels in the link and the length of the page does not matter.
- A document that needs a sign-in. Its Markdown address is not available to an unsigned-in assistant. A short page is put into the chat for you. A long page is copied instead, and the menu item says so before you click: paste it into the chat.
You can then ask your question there, in your own account with that service.
What it is not
APIGit has no built-in AI. There is no assistant inside the product, no model behind this button, and no AI writing your specs or your mock servers. The button only gets your documentation to a tool you already use. The conversation happens on that tool's site, under its terms.
Why Markdown and OpenAPI work well here
Markdown is plain text, so a copied page arrives in an assistant with its headings, tables and code blocks intact. That is one benefit of keeping documentation in a Git repository, in open formats. API references keep their source format for the same reason: the menu offers Download OpenAPI file, Download AsyncAPI file or Download GraphQL schema, so readers can hand the file to whichever tool they like.

A few things to keep in mind
- Private documents. For a document that needs a sign-in, Copy page and the Open in items send the page's content to the AI service you choose. Only do that with content you are allowed to share with it.
- Check the answers. An assistant can be wrong about your API, even with the docs in front of it. Try what it tells you. A mock server published from the same spec is a safe place to do so.
More than copy and paste
Since November 2026 the same menu also connects an agent to the published document through an MCP server address, a ready Claude Code command, and llms.txt. Those outputs cover Markdown guides, OpenAPI operations and schemas, and one generated page per AsyncAPI or GraphQL file. Per-operation/schema lookups and agent bundled-spec endpoints remain OpenAPI-only. That is a different way of working, where the agent looks things up itself instead of you pasting pages. APIGit for AI Agents describes it.
Get it on your documents
There is nothing to switch on: publish your API document and every page has the button. See Markdown and Components for what you can put in those pages.