Skip to main content

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

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

Surfaces

SurfaceUse it forPrimary scope
Site pagesSync CMS or markdown pages into a product.content:read, content:write
Agentic documentsRead and update document metadata and draft workflows.content:read, content:write
llms.txtRead and manage generated llms.txt resources.content:read, content:write
Apps and app routesManage 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.

Site pages

Sync product pages from a CMS or Markdown folder.

Agentic documents

Work with generated and reviewed content documents.