---
title: "List Templates"
method: GET
path: "/templates/"
tags: ["Templates (Classic)"]
---

# List Templates

`GET /templates/`

Retrieves a list of templates with optional filters for organization, language, and status.

## Query parameters

- `org` string[] — Filter templates by organization.
- `lang` string[] — Filter templates by language.
- `status` string[] — Filter templates by their status.

## Headers

- `Tenant-Name` string, required — Identifies a distinct entity within Corti's multi-tenant system. Ensures correct routing and authentication of the request.

## Response `200`

List of Templates

- TemplatesListResponse
  - `data` TemplatesItem[], required — List of filtered templates
    - `updatedAt` string, date-time, nullable — The timestamp when the template was updated.
    - `name` string, required — Name of the template.
    - `description` string, required — Description of the template.
    - `additionalInstructions` string, nullable — Instructions or context for all template sections.
    - `key` string, required — Unique key for the template.
    - `status` string, required — Status of the template.
    - `documentationMode` 'global_sequential' | 'routed_parallel' — Configures the approach and underlying system prompt that govern how the LLM generates documentation.
    - `templateSections` TemplatesSectionSorted[], required — List of sections included in the template.
      - `sort` integer, required — Sort order of the section within the template.
      - `section` TemplatesSection, required
        - `updatedAt` string, date-time, nullable — The timestamp when the section was updated.
        - `name` string, required — Name of the section.
        - `alternateName` string — Alternate name for the section. Not used by LLM response.
        - `key` string, required — Unique key for the section.
        - `description` string, required — Description of the section.
        - `defaultWritingStyle` TemplatesWritingStyle, required
          - `name` string, required — Name of the writing style.
        - `defaultFormatRule` TemplatesFormatRule
          - `name` string, nullable, required — Name of the format rule.
        - `additionalInstructions` string — Additional instructions or context for the section.
        - `content` string — Used to guide input assignment in documentationMode: routed_parallel, and for section generation.
        - `documentationMode` 'global_sequential' | 'routed_parallel' — Configures the approach and underlying system prompt that govern how the LLM generates documentation.
        - `type` string, required — Type of section.
        - `translations` TemplatesSectionTranslation[], required — Available translations for the section.
          - `languageId` string, required — Language code.
          - `name` string, nullable — Localized name.
          - `description` string, nullable — Localized description.
    - `translations` TemplatesTranslation[], required — Available translations for the template.
      - `languageId` string, required — Language code.
      - `name` string — Localized name.
      - `description` string — Localized description.

## Other responses

- `401` — RFC9457
- `500` — RFC9457

---

[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)
