# Capa documentation

Source: https://capacms.com/docs

Guides and reference for building with Capa, editing in it, and running it for clients.

Capa is a hybrid headless CMS. Your team writes and publishes in the admin, and your sites, apps and agents read the content through a cached API.

## Pick a path

  <Card title="I build sites and apps" href="/docs/get-started/quickstart">
    Create a model, publish an entry, mint a key and make your first read in five minutes.
  </Card>

  <Card title="I write and publish content" href="/docs/get-started/editors">
    Your first day in the admin: find an entry, edit it, publish or schedule it.
  </Card>

  <Card title="I run Capa for clients" href="/docs/projects/agency-playbook">
    Set up a client project: roles, one key per site, and a clean handoff.
  </Card>

  <Card title="I connect an AI agent" href="/docs/ai">
    What an agent can read and do today, the MCP server, and which key to give it.
  </Card>

## Reference

  <Card title="API reference" href="/docs/api">
    Hosts, headers, the response envelope, and the dated `/api/` read API.
  </Card>

  <Card title="Entries" href="/docs/api/entries">
    Choose fields with `select`, filter, sort, page, and expand relations.
  </Card>

  <Card title="GraphQL" href="/docs/api/graphql">
    Typed reads, limits, query cost and persisted queries.
  </Card>

  <Card title="SDK" href="/docs/sdk">
    `@capacms/sdk`: the typed client, codegen and the Next.js helpers.
  </Card>

  <Card title="Error codes" href="/docs/errors">
    Every error the API returns, what it means and how to fix it.
  </Card>

  <Card title="Legacy API" href="/docs/legacy">
    The `/v2/api` and `/v3/api` reads that existing sites still use.
  </Card>

## For agents

These docs are also plain Markdown. [`/llms.txt`](https://capacms.com/llms.txt) lists every page, [`/llms-full.txt`](https://capacms.com/llms-full.txt) holds all of them in one file, and any page is available as Markdown by adding `.md` to its URL, like [`/docs/api/entries.md`](https://capacms.com/docs/api/entries.md).
