---
title: "Get Templates"
method: GET
path: "/api/templates"
---

# Get Templates

`GET /api/templates`

Get all templates

## Response `200`

Successful Response

- TemplateOutput[]
  - `id` string, required
  - `name` string, required
  - `description` string, nullable
  - `fields` FieldDefinition[], required
    - `name` string, required
    - `type` 'string' | 'number' | 'boolean' | 'array' | 'object' | 'date', required
    - `description` string, nullable
    - `required` boolean
    - `constraints` FieldConstraints
      - `minLength` integer, nullable
      - `maxLength` integer, nullable
      - `pattern` string, nullable
      - `enum` string[], nullable
      - `min` number, nullable
      - `max` number, nullable
  - `createdAt` string, date-time, required
  - `updatedAt` string, date-time, required

---

[API](https://skmtc.net/qomplement/apis/fastapi.md) · [All operations](https://skmtc.net/qomplement/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/qomplement/fastapi/revisions/b6c76b02a94a/schema)
