---
title: "Get template version"
method: GET
path: "/documents/templates/{templateID}/versions/{versionID}"
tags: ["Guided Templates"]
---

# Get template version

`GET /documents/templates/{templateID}/versions/{versionID}`

Returns the raw authored template version without inheritance resolution or section expansion.
To see resolved content, use GET /documents/templates/{templateID} instead.

## Response `200`

OK — returns shallow (unresolved) template version

- GuidedShallowTemplateVersionResponse — Template version with raw authored values — no inheritance resolution applied. Sections are returned as references (IDs), not fully resolved objects. Use this to inspect what was explicitly set on this version versus inherited. Returned by GET, LIST, and POST version endpoints.
  - `id` string, uuid, required — The UUID of the version.
  - `versionNumber` integer, required — Starts at 0 and auto-increments.
  - `deletedAt` string, date-time, nullable — Present when the template version has been deleted.
  - `generation` GuidedShallowTemplateGeneration, required — Template generation with section references (not fully resolved). Use the resolved GuidedTemplateGeneration for hydrated section data.
    - `instructions` GuidedTemplateInstructions, required
      - `prompt` string, required — Template-level prompt instructions that apply generally to all sections.
    - `sections` GuidedTemplateVersionSectionRef[], required — Section references linked to this version (not fully resolved).
      - `sectionId` string, uuid, required — The UUID of the section linked to this template version.
      - `orderIndex` integer, required — The ordering position of the section within the template version.

## Other responses

- `404` — Not Found

---

[API](https://skmtc.dev/corti/apis/admin-api.md) · [All operations](https://skmtc.dev/corti/apis/admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/corti/admin-api/revisions/5d1895a1b3fc/schema)
