---
title: "Fetch Template Fields"
method: GET
path: "/v1/fetch_template_fields/"
tags: ["Public"]
---

# Fetch Template Fields

`GET /v1/fetch_template_fields/`

## Request

- Base URL: `https://api.koncile.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.koncile.ai/v1/fetch_template_fields/`
- Auth: HTTP bearer
- TypeScript: <https://skmtc.dev/koncile/apis/koncile-api/docs/v1/fetch_template_fields/get.ts> (a function with typed inputs; its response is checked against the schema)

All fields of a template, in full: the batch counterpart of `field_ids` on
`fetch_template`, one call instead of one `fetch_field` per field.

## Query parameters

- `template_id` integer, required

## Response `200`

Successful Response

- ParameterApiOut[]
  - `name` string, nullable
  - `type` string, nullable
  - `desc` string, nullable
  - `format` string, nullable
  - `position` integer, nullable
  - `id` integer, required
  - `template_id` integer, required

## Other responses

- `422`: Validation Error

## Changes

- **2026-11-10** `37187db89a87`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/koncile/apis/koncile-api/changes/v1/fetch_template_fields/get.md)

---

[API](https://skmtc.dev/koncile/apis/koncile-api.md) - [All operations](https://skmtc.dev/koncile/apis/koncile-api/llms.txt) - [OpenAPI document](https://skmtc.dev/koncile/apis/koncile-api/revisions/37187db89a87?raw)
