API reference and agent files

Write it once. People and agents read it.

Refpage is for teams that ship an API. Define each object once, then publish a reference site, markdown pages, llms.txt, OpenAPI and an Agent Skill that always match.

  • OpenAPI 3.1 export
  • llms.txt on every publish
  • Breaking changes flagged

Example data

A published reference

Open a published reference and look around.

Pick an endpoint, switch languages, and see one API as a page, an object table and agent files.

Harbor Pay APIVersion 2026-10-01

POSThttps://api.example.com/v1/customers

Create a customer

Adds a customer you can charge later.

Headers

  • Idempotency-Keystringoptional

    Send the same key to retry safely.

Body

  • emailemailrequired

    Where receipts go.

  • namestringoptional

    max 200

    Shown on receipts.

  • phonephoneoptional

    Used for delivery questions.

  • statusenumrequired

    active · archived · default "active"

  • passwordstringrequired

    min 12 · write-only

    Signs the customer in to your store.

curl --request POST \
  --url 'https://api.example.com/v1/customers' \
  --header 'Content-Type: application/json' \
  --header 'Authorization: Bearer YOUR_API_TOKEN' \
  --data '{
  "email": "[email protected]",
  "name": "Emily Carter",
  "phone": "+15555550123",
  "status": "active",
  "password": "example_password"
}'

Responses

Created

201Example
{
  "id": "cus_8f2k",
  "email": "[email protected]",
  "name": "Emily Carter",
  "phone": "+15555550123",
  "status": "active",
  "createdAt": "2026-10-01T14:30:00Z"
}

Example data. The pages, samples and files here come from Refpage's own compiler.

What it does

One source behind every page and file.

You describe the API once, and Refpage keeps every output in step with it.

  • Define objects once

    Write Customer once, and requests and responses reuse it with small named changes like only, without and optional.

  • Docs and skill together

    Every publish builds the reference site, markdown pages, llms.txt, OpenAPI 3.1 and an Agent Skill from one model.

  • Try requests from the docs

    Readers send a live request from each endpoint page, with samples in Shell, Node, Python, Ruby and PHP.

  • Breaking changes come first

    Before you publish, Refpage compares the draft with the last release and asks you to confirm breaking changes.

  • Import OpenAPI or Swagger

    Bring an OpenAPI 3.0, 3.1 or Swagger 2.0 file, and Refpage turns it into objects and endpoints you can edit.

  • Errors point at the line

    A broken field or a stale skill note stops the build and names the file, line and column.

What others leave out

Your docs, spec and skill come from one place.

Most tools render docs from an OpenAPI file you keep by hand, while Refpage writes that file from your objects and endpoints.

  • Refpage

    Reuse one object as required, optional or left out per request
    Yes
    Export OpenAPI 3.1 from what you edit
    Yes
    Edit endpoints and objects in forms
    Yes
    Import Swagger 2.0
    Yes
    Agent Skill on every publish
    Yes
  • Mintlify

    Reuse one object as required, optional or left out per request
    Partial
    Export OpenAPI 3.1 from what you edit
    No
    Edit endpoints and objects in forms
    No
    Import Swagger 2.0
    No
    Agent Skill on every publish
    Yes
  • ReadMe

    Reuse one object as required, optional or left out per request
    Partial
    Export OpenAPI 3.1 from what you edit
    Partial
    Edit endpoints and objects in forms
    Yes
    Import Swagger 2.0
    Yes
    Agent Skill on every publish
    Yes
  • Redocly

    Reuse one object as required, optional or left out per request
    Partial
    Export OpenAPI 3.1 from what you edit
    Partial
    Edit endpoints and objects in forms
    Partial
    Import Swagger 2.0
    Yes
    Agent Skill on every publish
    Yes

Competitor details from their public pages, checked October 8, 2026.

How it works

From draft to published docs in three steps.

You edit a private draft, and readers and agents only see what you publish.

  1. 01

    Bring your API

    Import an OpenAPI or Swagger file, or start from a name and add objects and endpoints in the editor.
  2. 02

    Review the release

    Refpage compiles the draft, lists what changed and asks you to confirm any breaking change.
  3. 03

    Publish once

    One publish serves the reference site, markdown pages, llms.txt, OpenAPI and the Agent Skill at stable addresses.

Part of StackDeck

One account, an AI helper and MCP tools.

Refpage is part of StackDeck, so your account, an AI helper and MCP tools come built in.

  • One login

    Sign in with your StackDeck account, and Refpage takes workspaces, members and roles from StackDeck.

  • AI coordinator

    StackDeck's AI can list your APIs, save a draft and prepare a release for you to approve.

  • MCP tools

    Listing, drafting, previewing and publishing APIs are tools on StackDeck's MCP server, and publishing waits for your approval.

  • Any language

    Vernary translates Refpage, its published reader and this site into any language.

Questions

Before you start

It replaces the docs site you keep by hand and the separate files you write for AI tools. Your OpenAPI file can come in through import.

You sign in with your StackDeck account. Refpage uses your StackDeck workspace, members and roles, so there is no second password.

Yes. Through Vernary, the editor, the published reader and this site work in any language you pick. Generated agent files keep their standard headings around your own text.

llms.txt is a short index of your docs that AI tools read first. An Agent Skill is a folder of instructions an AI assistant loads to call your API correctly.

Yes. Import OpenAPI 3.0, 3.1 or Swagger 2.0 into a draft, then edit it in Refpage. The export is plain OpenAPI 3.1.

Refpage never runs your code and never calls your API on its own. A Try request goes out only when a reader sends it, and only to a public HTTPS address.

Refpage

Publish API docs people and agents trust.

Import an OpenAPI file or start from a name, then review and publish your first release.