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

# List Workflows

> List workflows.



## OpenAPI

````yaml https://platform.tracecat.com/api/openapi.json get /workspaces/{workspace_id}/workflows
openapi: 3.1.0
info:
  title: Tracecat API
  summary: Tracecat API
  description: The open source AI automation platform for security teams and agents.
  termsOfService: >-
    https://docs.google.com/document/d/e/2PACX-1vQvDe3SoVAPoQc51MgfGCP71IqFYX_rMVEde8zC4qmBCec5f8PLKQRdxa6tsUABT8gWAR9J-EVs2CrQ/pub
  contact:
    name: Tracecat Founders
    email: founders@tracecat.com
  license:
    name: AGPL-3.0
    url: https://www.gnu.org/licenses/agpl-3.0.html
  version: '1'
servers:
  - url: /api
security: []
tags:
  - name: public
    description: Public facing endpoints
  - name: workflows
    description: Workflow management
  - name: actions
    description: Action management
  - name: triggers
    description: Workflow triggers
  - name: secrets
    description: Secret management
  - name: variables
    description: Workspace variable management
paths:
  /workspaces/{workspace_id}/workflows:
    get:
      tags:
        - workflows
      summary: List Workflows
      description: List workflows.
      operationId: workflows-list_workflows
      parameters:
        - name: workspace_id
          in: path
          required: true
          schema:
            type: string
            format: uuid
            title: Workspace Id
        - name: tag
          in: query
          required: false
          schema:
            anyOf:
              - items:
                  type: string
                type: array
              - type: 'null'
            description: Filter workflows by tags
            title: Tag
          description: Filter workflows by tags
        - name: limit
          in: query
          required: false
          schema:
            type: integer
            maximum: 200
            minimum: 0
            default: 20
            title: Limit
        - name: cursor
          in: query
          required: false
          schema:
            anyOf:
              - type: string
              - type: 'null'
            title: Cursor
        - name: reverse
          in: query
          required: false
          schema:
            type: boolean
            default: false
            title: Reverse
      responses:
        '200':
          description: Successful Response
          content:
            application/json:
              schema:
                $ref: >-
                  #/components/schemas/CursorPaginatedResponse_WorkflowReadMinimal_
        '422':
          description: Validation Error
          content:
            application/json:
              schema:
                $ref: '#/components/schemas/HTTPValidationError'
      security:
        - APIKeyCookie: []
        - ServiceAccountApiKeyBearer: []
components:
  schemas:
    CursorPaginatedResponse_WorkflowReadMinimal_:
      properties:
        items:
          items:
            $ref: '#/components/schemas/WorkflowReadMinimal'
          type: array
          title: Items
        next_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Next Cursor
          description: Cursor for next page
        prev_cursor:
          anyOf:
            - type: string
            - type: 'null'
          title: Prev Cursor
          description: Cursor for previous page
        has_more:
          type: boolean
          title: Has More
          description: Whether more items exist
          default: false
        has_previous:
          type: boolean
          title: Has Previous
          description: Whether previous items exist
          default: false
        total_estimate:
          anyOf:
            - type: integer
            - type: 'null'
          title: Total Estimate
          description: Estimated total count from table statistics
      type: object
      required:
        - items
      title: CursorPaginatedResponse[WorkflowReadMinimal]
    HTTPValidationError:
      properties:
        detail:
          items:
            $ref: '#/components/schemas/ValidationError'
          type: array
          title: Detail
      type: object
      title: HTTPValidationError
    WorkflowReadMinimal:
      properties:
        id:
          type: string
          pattern: wf_[0-9a-zA-Z]+
          title: Id
        title:
          type: string
          title: Title
        description:
          type: string
          title: Description
        status:
          type: string
          title: Status
        icon_url:
          anyOf:
            - type: string
            - type: 'null'
          title: Icon Url
        created_at:
          type: string
          format: date-time
          title: Created At
        updated_at:
          type: string
          format: date-time
          title: Updated At
        version:
          anyOf:
            - type: integer
            - type: 'null'
          title: Version
        tags:
          anyOf:
            - items:
                $ref: '#/components/schemas/TagRead'
              type: array
            - type: 'null'
          title: Tags
        alias:
          anyOf:
            - type: string
            - type: 'null'
          title: Alias
        error_handler:
          anyOf:
            - type: string
            - type: 'null'
          title: Error Handler
        latest_definition:
          anyOf:
            - $ref: '#/components/schemas/WorkflowDefinitionReadMinimal'
            - type: 'null'
        folder_id:
          anyOf:
            - type: string
              format: uuid
            - type: 'null'
          title: Folder Id
        trigger_summary:
          anyOf:
            - $ref: '#/components/schemas/WorkflowTriggerSummary'
            - type: 'null'
      type: object
      required:
        - id
        - title
        - description
        - status
        - icon_url
        - created_at
        - updated_at
        - version
      title: WorkflowReadMinimal
      description: Minimal version of WorkflowRead model for list endpoints.
    ValidationError:
      properties:
        loc:
          items:
            anyOf:
              - type: string
              - type: integer
          type: array
          title: Location
        msg:
          type: string
          title: Message
        type:
          type: string
          title: Error Type
        input:
          title: Input
        ctx:
          type: object
          title: Context
      type: object
      required:
        - loc
        - msg
        - type
      title: ValidationError
    TagRead:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        name:
          type: string
          maxLength: 50
          minLength: 1
          title: Name
        ref:
          type: string
          title: Ref
          description: Slug-like identifier derived from name, used for API lookups
        color:
          anyOf:
            - type: string
            - type: 'null'
          title: Color
          description: Hex color code
      type: object
      required:
        - id
        - name
        - ref
      title: TagRead
      description: Model for reading tag data with validation.
    WorkflowDefinitionReadMinimal:
      properties:
        id:
          type: string
          format: uuid
          title: Id
        version:
          type: integer
          title: Version
        created_at:
          type: string
          format: date-time
          title: Created At
      type: object
      required:
        - id
        - version
        - created_at
      title: WorkflowDefinitionReadMinimal
    WorkflowTriggerSummary:
      properties:
        schedule_count_online:
          type: integer
          title: Schedule Count Online
          default: 0
        schedule_cron:
          anyOf:
            - type: string
            - type: 'null'
          title: Schedule Cron
        schedule_natural:
          anyOf:
            - type: string
            - type: 'null'
          title: Schedule Natural
        webhook_active:
          type: boolean
          title: Webhook Active
          default: false
        case_trigger_events:
          items:
            $ref: '#/components/schemas/CaseEventType'
          type: array
          title: Case Trigger Events
      type: object
      title: WorkflowTriggerSummary
    CaseEventType:
      type: string
      enum:
        - case_created
        - case_updated
        - case_closed
        - case_reopened
        - case_viewed
        - priority_changed
        - severity_changed
        - status_changed
        - fields_changed
        - assignee_changed
        - attachment_created
        - attachment_deleted
        - tag_added
        - tag_removed
        - payload_changed
        - task_created
        - task_deleted
        - task_status_changed
        - task_priority_changed
        - task_workflow_changed
        - task_assignee_changed
        - dropdown_value_changed
        - table_row_linked
        - table_row_unlinked
        - comment_created
        - comment_updated
        - comment_deleted
        - comment_reply_created
        - comment_reply_updated
        - comment_reply_deleted
      title: CaseEventType
      description: Case activity type values.
  securitySchemes:
    APIKeyCookie:
      type: apiKey
      in: cookie
      name: fastapiusersauth
    ServiceAccountApiKeyBearer:
      type: http
      description: Tracecat service account API key.
      scheme: bearer

````