> ## 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.

# Recipe 5 — Your own sections & templates + end-user runtime overrides

> Pair your project-owned templates with per-call runtime overrides so end users get last-mile control without you maintaining a section variant per user.

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

← Back to [Customization Cookbook](/textgen/customization-cookbook)

**Scenario:** Same as [Recipe 4](/textgen/customization-cookbook/recipe-4-author-your-own), but your product UI lets clinicians tweak individual sections per encounter.

**What you do:**

Run Path 2 against **your own** template (instead of a Standard). The overrides shape is the same as [Recipe 3](/textgen/customization-cookbook/recipe-3-runtime-overrides-on-standards) — `templateRef.overrides.instructions` for template-level tweaks, `templateRef.overrides.sections[]` for per-section tweaks.

```json title="POST /documents — Path 2 against your own template" expandable theme={null}
{
  "outputLanguage": "en-US",
  "interactionId": "<your-interaction-id>",
  "templateRef": {
    "templateId": "<your-template-id>",
    "overrides": {
      "sections": [
        {
          "sectionId": "<your-section-id>",
          "generation": {
            "instructions": {
              "writingStylePrompt": "Lay-person friendly. No medical abbreviations. Address the patient in second person."
            }
          }
        }
      ]
    }
  }
}
```

**Why this lever:** You retain stable templates as the governed baseline; end users get last-mile control without you maintaining a section variant per user. The same presets-vs-free-prompt design choice from [Recipe 3](/textgen/customization-cookbook/recipe-3-runtime-overrides-on-standards) applies.

**Caveat:** End-user overrides via free-prompt can drift in unpredictable ways. Always test edge cases (very long prompts, conflicting instructions, prompts that try to override schema). When in doubt, fall back to presets.

***

Previous: [Recipe 4 — Author your own sections & templates](/textgen/customization-cookbook/recipe-4-author-your-own) · Next: [Recipe 6 — Inherit from your own sections to scale](/textgen/customization-cookbook/recipe-6-inherit-your-own)
