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

# Get all workflow templates

> Retrieves a list of all available workflow templates in YAML format.



## OpenAPI

````yaml /api-reference/openapi.json get /api/workflows/templates
openapi: 3.0.0
info:
  title: Open Attack Surface Management
  description: Open-source platform for cybersecurity Attack Surface Management (ASM)
  version: '1.0'
  contact: {}
servers:
  - url: https://{baseUrl}/api/v1
    variables:
      baseUrl:
        default: localhost:3000
        description: API server hostname with port (e.g. localhost:3000, api.example.com)
security: []
tags: []
externalDocs:
  description: Authentication Docs
  url: auth/docs
paths:
  /api/workflows/templates:
    get:
      tags:
        - Workflows
      summary: Get all workflow templates
      description: Retrieves a list of all available workflow templates in YAML format.
      operationId: WorkflowsController_listTemplates
      parameters: []
      responses:
        '200':
          description: List of workflow template filenames
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetManyStringDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    GetManyStringDto:
      type: object
      properties:
        data:
          type: array
          items:
            type: string
        total:
          type: number
        page:
          type: number
        limit:
          type: number
        hasNextPage:
          type: boolean
        pageCount:
          type: number
      required:
        - data
        - total
        - page
        - limit
        - hasNextPage
        - pageCount

````