> ## Documentation Index
> Fetch the complete documentation index at: https://docs.promptingcompany.com/llms.txt
> Use this file to discover all available pages before exploring further.

# Content API overview

> Understand the TPC content API surfaces and common workflows.

# Content API overview

The Content API manages the content surfaces that TPC uses for retrieval, publishing, and public markdown delivery.

## Surfaces

| Surface             | Use it for                                             | Primary scope                   |
| ------------------- | ------------------------------------------------------ | ------------------------------- |
| Site pages          | Sync CMS or markdown pages into a product.             | `content:read`, `content:write` |
| Agentic documents   | Read and update document metadata and draft workflows. | `content:read`, `content:write` |
| llms.txt            | Read and manage generated llms.txt resources.          | `content:read`, `content:write` |
| Apps and app routes | Manage app configuration and route resources.          | `content:read`, `content:write` |

Start with site pages when you want a stable sync target for product pages, docs pages, and marketing content.

## Common workflow

1. Create an API key with `content:read`.
2. List existing resources for a product.
3. Add `content:write` only when your integration needs mutations.
4. Send `Idempotency-Key` on writes so retries are safe.
5. Store `x-request-id` with your job logs.

## Related guides

<Card title="Site pages" icon="file-text" href="/api/content/site-pages" horizontal>
  Sync product pages from a CMS or Markdown folder.
</Card>

<Card title="Agentic documents" icon="files" href="/api/content/documents" horizontal>
  Work with generated and reviewed content documents.
</Card>
