Empryo Docs API

The Docs API from Empryo — 6 operation(s) for docs.

GitHub OpenAPI

Operations 6

GET /api/docs Documentation index #
GET /docs/{slug}.md Markdown mirror of a docs page #
GET /api/docs/sections Section-level docs index #
GET /api/docs/search Search docs sections #
GET /docs/tools/morphs/llms.txt Cells task map for agents #
GET /api/docs/section Retrieve one exact documentation or blog section #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/empryo-com:empryo-com-docs-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Calls without X-API-Key need no key. Calls with it need a paid plan — get a key.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

empryo-com-docs-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: empryo.com public Docs API
  version: 1.0.0
  description: 'The read-only public surface of empryo.com — release metadata for the Empryo AI coding agent, plus the machine-readable content mirrors (llms.txt and per-page markdown). Empryo itself is a local tool: the primary programmatic interface is the CLI (`empryo --headless "" --json`), documented at https://empryo.com/docs/headless. No authentication; all endpoints are public GETs. Please cache: release data changes only on releases.'
  contact:
    name: Empryo
    url: https://empryo.com/contact
servers:
- url: https://empryo.com
tags:
- name: Docs
paths:
  /api/docs:
    get:
      operationId: listDocs
      summary: Documentation index
      description: 'Every documentation page: slug, title, description, canonical URL and its raw-markdown mirror URL. Use it to pick which page to fetch instead of crawling.'
      responses:
        '200':
          description: Docs index.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/DocList'
        '503':
          description: Data temporarily unreadable.
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/Error'
      tags:
      - Docs
  /docs/{slug}.md:
    get:
      operationId: getDocMarkdown
      summary: Markdown mirror of a docs page
      description: 'Raw-markdown mirror of https://empryo.com/docs/{slug}. Every docs URL serves markdown at the same path + `.md`, or via `Accept: text/markdown` on the HTML path.'
      parameters:
      - name: slug
        in: path
        required: true
        description: Docs page slug, e.g. `quickstart` or `tools/ast-edit`. The full list is in /llms.txt.
        schema:
          type: string
          examples:
          - quickstart
          - installation
          - tools/ast-edit
      responses:
        '200':
          description: The page as markdown.
          content:
            text/markdown:
              schema:
                type: string
        '404':
          description: No such docs page.
          content:
            text/markdown:
              schema:
                type: string
      tags:
      - Docs
  /api/docs/sections:
    get:
      summary: Section-level docs index
      description: 'Every heading-delimited section of every docs page and blog post: page, headingPath, anchor, summary, keywords, url, markdownUrl (the .md mirror + #anchor) and a token estimate. Fetch one exact section instead of a whole page.'
      operationId: docsSections
      responses:
        '200':
          description: Sections
          content:
            application/json:
              schema:
                type: object
                properties:
                  generatedAt:
                    type: string
                  count:
                    type: integer
                  sections:
                    type: array
                    items:
                      type: object
                      properties:
                        page:
                          type: string
                        pageTitle:
                          type: string
                        headingPath:
                          type: array
                          items:
                            type: string
                        anchor:
                          type: string
                        url:
                          type: string
                        markdownUrl:
                          type: string
                        summary:
                          type: string
                        keywords:
                          type: array
                          items:
                            type: string
                        tokens:
                          type: integer
      tags:
      - Docs
  /api/docs/search:
    get:
      summary: Search docs sections
      description: 'BM25-ranked SECTIONS (not pages) for a query. scope narrows the corpus: cells (Cells & Morphs docs + post), docs, blog.'
      operationId: docsSearch
      parameters:
      - name: q
        in: query
        required: true
        schema:
          type: string
      - name: scope
        in: query
        required: false
        schema:
          type: string
          enum:
          - cells
          - morph
          - docs
          - blog
      - name: limit
        in: query
        required: false
        schema:
          type: integer
          minimum: 1
          maximum: 25
          default: 10
      responses:
        '200':
          description: Ranked sections
          content:
            application/json:
              schema:
                type: object
                properties:
                  query:
                    type: string
                  scope:
                    type: string
                    nullable: true
                  count:
                    type: integer
                  results:
                    type: array
                    items:
                      type: object
                      properties:
                        score:
                          type: number
                        page:
                          type: string
                        pageTitle:
                          type: string
                        headingPath:
                          type: array
                          items:
                            type: string
                        url:
                          type: string
                        markdownUrl:
                          type: string
                        summary:
                          type: string
                        tokens:
                          type: integer
        '400':
          description: Missing q
      tags:
      - Docs
  /docs/tools/morphs/llms.txt:
    get:
      summary: Cells task map for agents
      description: llms.txt scoped to Cells & Morphs, grouped by task (create, surfaces, blocks, pulses, triggers, agent layer, credentials, limits); each entry links one section as markdown (.md#anchor).
      operationId: cellsLlmsTxt
      responses:
        '200':
          description: Markdown
          content:
            text/markdown: {}
      tags:
      - Docs
  /api/docs/section:
    get:
      summary: Retrieve one exact documentation or blog section
      responses:
        '200':
          description: Retrieve one exact documentation or blog section
          content:
            application/json:
              schema:
                type: object
        '400':
          description: Missing selector
        '404':
          description: No exact section
        '503':
          description: Source data temporarily unavailable
      parameters:
      - name: page
        in: query
        required: true
        allowEmptyValue: false
        schema:
          type: string
        description: Exact value from /api/docs/sections
      - name: anchor
        in: query
        required: true
        allowEmptyValue: true
        schema:
          type: string
        description: Exact value from /api/docs/sections
      tags:
      - Docs
      operationId: getApiDocsSection
      x-operation-id-source: derived
components:
  schemas:
    DocList:
      type: object
      required:
      - docs
      properties:
        docs:
          type: array
          items:
            type: object
            required:
            - slug
            - title
            - url
            - markdownUrl
            properties:
              slug:
                type: string
                examples:
                - quickstart
                - tools/ast-edit
              title:
                type: string
              description:
                type: string
              url:
                type: string
                format: uri
                description: Canonical HTML page.
              markdownUrl:
                type: string
                format: uri
                description: Raw-markdown mirror of the same page.
    Error:
      type: object
      required:
      - error
      description: Structured error returned by every /api/* endpoint — never HTML.
      properties:
        error:
          type: object
          required:
          - code
          - message
          properties:
            code:
              type: string
              description: Machine-readable error code.
              examples:
              - not_found
              - method_not_allowed
            message:
              type: string
              description: Human-readable explanation.
            hint:
              type: string
              description: Where to look next.