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

# List Template Sections

`GET /templateSections/`

Retrieves a list of template sections with optional filters for organization and language.

## Query parameters

- `org` string[] — Filter template sections by organization.
- `lang` string[] — Filter template sections by language.

## 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 Template Sections

- TemplatesSectionListResponse
  - `data` TemplatesSection[], required — List of filtered template sections
    - `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.

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