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

# List template versions

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

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

## Response `200`

OK — returns shallow (unresolved) template versions

- GuidedShallowTemplateVersionResponse[]
  - `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.net/corti/apis/admin-api.md) · [All operations](https://skmtc.net/corti/apis/admin-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/corti/admin-api/revisions/5d1895a1b3fc/schema)
