> ## 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 many workflows

> Retrieves a paginated list of workflows within the specified workspace. Supports filtering by name.



## OpenAPI

````yaml /api-reference/openapi.json get /api/workflows
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:
    get:
      tags:
        - Workflows
      summary: Get many workflows
      description: >-
        Retrieves a paginated list of workflows within the specified workspace.
        Supports filtering by name.
      operationId: WorkflowsController_getManyWorkflows
      parameters:
        - name: search
          required: false
          in: query
          schema:
            type: string
        - name: page
          required: false
          in: query
          schema:
            example: 1
            type: number
        - name: limit
          required: false
          in: query
          schema:
            example: 10
            type: number
        - name: sortBy
          required: false
          in: query
          schema:
            example: createdAt
            type: string
        - name: sortOrder
          required: false
          in: query
          schema:
            example: DESC
            type: string
        - name: name
          required: false
          in: query
          description: Filter by workflow name
          schema:
            type: string
        - name: X-Workspace-Id
          in: header
          description: Workspace ID
          schema:
            type: string
      responses:
        '200':
          description: Paginated list of workflows
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/GetManyGetManyWorkflowsResponseDtoDto'
                allOf:
                  - $ref: '#/components/schemas/AppResponseSerialization'
components:
  schemas:
    GetManyGetManyWorkflowsResponseDtoDto:
      type: object
      properties:
        data:
          type: array
          items:
            $ref: '#/components/schemas/GetManyWorkflowsResponseDto'
        total:
          type: number
        page:
          type: number
        limit:
          type: number
        hasNextPage:
          type: boolean
        pageCount:
          type: number
      required:
        - data
        - total
        - page
        - limit
        - hasNextPage
        - pageCount
    GetManyWorkflowsResponseDto:
      type: object
      properties:
        id:
          type: string
          description: The unique identifier of the workflow
        name:
          type: string
          description: The name of the workflow
        filePath:
          type: string
          description: The file path of the workflow
        content:
          type: object
          description: The workflow content
        createdAt:
          format: date-time
          type: string
          description: When the workflow was created
        updatedAt:
          format: date-time
          type: string
          description: When the workflow was last updated
        createdBy:
          type: object
          description: The user who created this workflow
        workspace:
          type: object
          description: The workspace this workflow belongs to
      required:
        - id
        - name
        - filePath
        - content
        - createdAt
        - updatedAt

````