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

# Sections & Templates

> Author, version and publish first-class clinical document sections and templates as UUID-addressable resources for healthcare AI documentation workflows on the Corti API

<Badge className="accent-badge" shape="rounded">Beta</Badge>

Bring your own clinical documentation structure to Corti's text generation platform. The **Sections & Templates** API lets you author, version and publish **section** and **template** resources as first-class objects with a typed, governed, schema-controlled authoring surface for healthcare AI clinical note generation.

Sections and templates authored here drop directly into [Guided Document Synthesis](/textgen/documents-guided-synthesis) on `POST /documents`, alongside Corti's curated [Standards library](/textgen/corti-standards). See the full API specification on [POST /documents/sections](/api-reference/documents/create-section) and [POST /documents/templates](/api-reference/templates/create-template).

<Card>
  Delivered as two REST resources — `/documents/sections` and `/documents/templates` — with full create / read / update / publish / delete lifecycle, per-locale variants, label-driven discovery, and `inheritFromId` for variant authoring without losing upstream improvements.

  <Tip>
    New to Corti's curated library? Browse [Corti Standards](/textgen/corti-standards) to inherit prompts and schemas pre-tuned for clinical workflows, then customize via the [Customization Cookbook](/textgen/customization-cookbook).
  </Tip>
</Card>

***

## Features

<Tip>Click on the cards to learn more...</Tip>

<CardGroup cols={2}>
  <Card title="Corti Standards library" icon="library" href="/textgen/corti-standards">
    A growing, source-aware catalogue of clinical sections and templates curated by Corti. Use as-is, override at runtime, or inherit from in your own resources.
  </Card>

  <Card title="Author your own sections & templates" icon="pen-line" href="/textgen/section-creation">
    First-class, UUID-addressable resources via `/documents/sections` and `/documents/templates`. Author every prompt end-to-end.
  </Card>

  <Card title="Versioning & publishing" icon="git-branch" href="/textgen/versioning">
    Explicit version + publish lifecycle on every section and template. Iterate freely; previously published versions stay live until you publish a new one.
  </Card>

  <Card title="Typed, schema-controlled structured outputs" icon="braces" href="/textgen/section-schemas">
    Define output as `string`, `number`, `boolean`, `array` or `object` with named `fields[]`.
  </Card>

  <Card title="Schema-controlled advanced text outputs" icon="regex" href="/textgen/section-schemas">
    Parallel to structured outputs, define how the text string should be formatted. Advanced regex patterns supported.
  </Card>

  <Card title="Scale via inheritance" icon="layers" href="/textgen/inheritance">
    Create inheriting variants without losing future improvements on fields you didn't override. Foundation for customer/department/specialty scaling.
  </Card>

  <Card title="Manage & discover" icon="folder-search" href="/textgen/management-discoverability">
    Read resolved-vs-raw, update metadata, delete with inheritance guards, and filter LIST results by language, region, specialty and label.
  </Card>
</CardGroup>

<br />

<Note>Please [contact us](https://help.corti.app) for more information or help.</Note>
