> ## Documentation Index
> Fetch the complete documentation index at: https://docs.xenia.team/llms.txt
> Use this file to discover all available pages before exploring further.

# Get Template Types

> Returns a list of all available checklist types for the current workspace.



## OpenAPI

````yaml GET /api/v1/task/checklist-types
openapi: 3.1.0
info:
  title: Xenia Team API - Get Template Types
  version: 1.0.0
  description: API to fetch available checklist types in the workspace.
servers:
  - url: https://api.xenia.team
security: []
paths:
  /api/v1/task/checklist-types:
    get:
      tags:
        - Checklist
      summary: Get Checklist Types
      description: >-
        Returns a list of all available checklist types for the current
        workspace.
      parameters:
        - in: header
          name: workspace-id
          required: true
          schema:
            type: string
            format: uuid
          description: Workspace ID to fetch checklist types
      responses:
        '200':
          description: Checklist types list returned successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      $ref: '#/components/schemas/ChecklistType'
                  meta:
                    type: object
              examples:
                Checklist Types:
                  value:
                    data:
                      - id: 9742d327-1a5f-4912-9e12-ff7cb768b6e8
                        name: SOP
                        description: >-
                          Step-by-step instructions outlining how to perform a
                          specific process
                        createdAt: '2023-01-03T06:34:37.055Z'
                        updatedAt: '2023-01-03T06:34:37.055Z'
                      - id: f17c356e-577e-4c81-9f6a-efde14b1df55
                        name: Checklist
                        description: >-
                          Follow a set of steps or track progress in a given
                          task
                        createdAt: '2023-01-03T06:34:37.055Z'
                        updatedAt: '2023-01-03T06:34:37.055Z'
                      - id: 632bcfc9-649f-4893-a0e7-65b47d403775
                        name: Inspection
                        description: >-
                          Prompt Pass or Fail choices to assess whether
                          equipment or systems are meeting standards
                        createdAt: '2023-01-03T06:34:37.055Z'
                        updatedAt: '2023-01-03T06:34:37.055Z'
                      - id: 7f0e62dd-eea5-4d93-9d00-c30a5b1146f8
                        name: Log
                        description: >-
                          Record data such as numbers, text responses, or other
                          types of information
                        createdAt: '2023-01-03T06:34:37.055Z'
                        updatedAt: '2023-01-03T06:34:37.055Z'
                    meta: {}
        '400':
          description: Bad Request - Invalid workspace ID format.
        '401':
          description: Unauthorized - Missing or invalid authentication.
        '403':
          description: Forbidden - Insufficient permissions to access template types.
        '500':
          description: Internal Server Error.
      security:
        - clientKey: []
          clientSecret: []
components:
  schemas:
    ChecklistType:
      type: object
      properties:
        id:
          type: string
          format: uuid
        name:
          type: string
        description:
          type: string
        createdAt:
          type: string
          format: date-time
        updatedAt:
          type: string
          format: date-time
      required:
        - id
        - name
        - description
        - createdAt
        - updatedAt
  securitySchemes:
    clientKey:
      type: apiKey
      in: header
      name: x-client-key
    clientSecret:
      type: apiKey
      in: header
      name: x-client-secret

````