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

# List template workflows

> Retrieve all workflows linked to a template



## OpenAPI

````yaml get /v4/templates/{templateId}/workflows
openapi: 3.0.3
info:
  title: Kadoa API
  version: 3.0.0
  contact:
    name: Support
    email: support@kadoa.com
servers:
  - url: https://api.kadoa.com
security: []
paths:
  /v4/templates/{templateId}/workflows:
    get:
      tags:
        - Templates
      summary: List template workflows
      description: >-
        List all workflows created from this template (isOutdated flag is
        informational-only in v1 — applyUpdate is disabled)
      parameters:
        - name: templateId
          in: path
          required: true
          schema:
            type: string
            format: uuid
          description: Template ID
      responses:
        '200':
          description: '200'
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/TemplateWorkflowsResponse'
        '401':
          description: '401'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: boolean
                    description: Indicates an error occurred
                  message:
                    type: string
                    description: Error message
                  details:
                    nullable: true
                    description: Additional error details (e.g., validation errors)
                required:
                  - error
                  - message
        '404':
          description: '404'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: boolean
                    description: Indicates an error occurred
                  message:
                    type: string
                    description: Error message
                  details:
                    nullable: true
                    description: Additional error details (e.g., validation errors)
                required:
                  - error
                  - message
        '500':
          description: '500'
          content:
            application/json:
              schema:
                type: object
                properties:
                  error:
                    type: boolean
                    description: Indicates an error occurred
                  message:
                    type: string
                    description: Error message
                  details:
                    nullable: true
                    description: Additional error details (e.g., validation errors)
                required:
                  - error
                  - message
      security:
        - ApiKeyAuth: []
components:
  schemas:
    TemplateWorkflowsResponse:
      type: object
      properties:
        error:
          type: boolean
          enum:
            - false
          description: Error flag (always false on success)
        data:
          type: array
          items:
            type: object
            properties:
              workflowId:
                type: string
                format: uuid
                description: Workflow ID
              workflowName:
                type: string
                description: Workflow name
              templateVersion:
                type: number
                description: Template version the workflow was created from
              isOutdated:
                type: boolean
                description: Whether a newer template version exists
              state:
                type: string
                description: Current workflow state
              isRealTime:
                type: boolean
                description: Whether this is a real-time monitor workflow
            required:
              - workflowId
              - workflowName
              - templateVersion
              - isOutdated
              - state
              - isRealTime
          description: Workflows linked to this template
      required:
        - error
        - data
      title: TemplateWorkflowsResponse
      description: Response for listing workflows created from a template
  securitySchemes:
    ApiKeyAuth:
      type: apiKey
      in: header
      name: x-api-key
      description: API key for authentication

````