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

# List workflow templates with filtering and pagination



## OpenAPI

````yaml /openapi/workflow-templates.json post /workflow-templates/list
openapi: 3.1.1
info:
  title: ARTU Compliance API
  version: 1.0.0
  description: 'API for compliance management. Documentation: https://docs.artu.ai'
servers:
  - url: https://api.artu.ai
security:
  - bearerAuth: []
    environmentHeader: []
paths:
  /workflow-templates/list:
    post:
      tags:
        - Workflow Templates
      summary: List workflow templates with filtering and pagination
      operationId: workflowTemplates.list
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                filter:
                  type: object
                  properties:
                    search:
                      type: string
                      minLength: 1
                      maxLength: 200
                      description: Search
                    visibility:
                      anyOf:
                        - enum:
                            - private
                            - pending_review
                            - published
                          type: string
                        - type: object
                          properties:
                            eq:
                              enum:
                                - private
                                - pending_review
                                - published
                              type: string
                            in:
                              type: array
                              items:
                                enum:
                                  - private
                                  - pending_review
                                  - published
                                type: string
                            nin:
                              type: array
                              items:
                                enum:
                                  - private
                                  - pending_review
                                  - published
                                type: string
                      description: Visibility
                    name:
                      anyOf:
                        - type: string
                        - type: object
                          properties:
                            eq:
                              type: string
                            contains:
                              type: string
                            startsWith:
                              type: string
                            endsWith:
                              type: string
                            in:
                              type: array
                              items:
                                type: string
                            nin:
                              type: array
                              items:
                                type: string
                      description: Name
                    description:
                      anyOf:
                        - type: string
                        - type: object
                          properties:
                            eq:
                              type: string
                            contains:
                              type: string
                            startsWith:
                              type: string
                            endsWith:
                              type: string
                            in:
                              type: array
                              items:
                                type: string
                            nin:
                              type: array
                              items:
                                type: string
                      description: Description
                    category:
                      anyOf:
                        - type: string
                        - type: object
                          properties:
                            eq:
                              type: string
                            contains:
                              type: string
                            startsWith:
                              type: string
                            endsWith:
                              type: string
                            in:
                              type: array
                              items:
                                type: string
                            nin:
                              type: array
                              items:
                                type: string
                      description: Category
                    scopes:
                      anyOf:
                        - type: string
                        - type: object
                          properties:
                            contains:
                              type: string
                            notContains:
                              type: string
                            containsAny:
                              type: array
                              items:
                                type: string
                            containsAll:
                              type: array
                              items:
                                type: string
                            empty:
                              type: boolean
                            notEmpty:
                              type: boolean
                      description: Scopes
                    tags:
                      anyOf:
                        - type: string
                        - type: object
                          properties:
                            contains:
                              type: string
                            notContains:
                              type: string
                            containsAny:
                              type: array
                              items:
                                type: string
                            containsAll:
                              type: array
                              items:
                                type: string
                            empty:
                              type: boolean
                            notEmpty:
                              type: boolean
                      description: Tags
                    sourceWorkflowId:
                      anyOf:
                        - type: string
                          format: uuid
                        - type: object
                          properties:
                            eq:
                              type: string
                              format: uuid
                            in:
                              type: array
                              items:
                                type: string
                                format: uuid
                            nin:
                              type: array
                              items:
                                type: string
                                format: uuid
                      description: Source Workflow ID
                    createdAt:
                      anyOf:
                        - type: string
                          format: date-time
                        - type: object
                          properties:
                            eq:
                              type: string
                              format: date-time
                            gt:
                              type: string
                              format: date-time
                            gte:
                              type: string
                              format: date-time
                            lt:
                              type: string
                              format: date-time
                            lte:
                              type: string
                              format: date-time
                      description: Created At
                    updatedAt:
                      anyOf:
                        - type: string
                          format: date-time
                        - type: object
                          properties:
                            eq:
                              type: string
                              format: date-time
                            gt:
                              type: string
                              format: date-time
                            gte:
                              type: string
                              format: date-time
                            lt:
                              type: string
                              format: date-time
                            lte:
                              type: string
                              format: date-time
                      description: Updated At
                    ownership:
                      enum:
                        - own
                        - public
                      type: string
                      description: Ownership
                sort:
                  type: array
                  items:
                    type: object
                    properties:
                      field:
                        enum:
                          - name
                          - visibility
                          - category
                          - version
                          - createdAt
                          - updatedAt
                          - relevance
                        type: string
                      direction:
                        enum:
                          - asc
                          - desc
                        type: string
                    required:
                      - field
                      - direction
                cursor:
                  type: string
                offset:
                  type: integer
                  minimum: 0
                  maximum: 9007199254740991
                limit:
                  type: integer
                  minimum: 1
                  maximum: 200
                  default: 20
                includeTotalCount:
                  type: boolean
      responses:
        '200':
          description: OK
          content:
            application/json:
              schema:
                type: object
                properties:
                  data:
                    type: array
                    items:
                      type: object
                      properties:
                        id:
                          type: string
                          format: uuid
                        organizationId:
                          type: string
                        name:
                          type: string
                        description:
                          type: string
                        category:
                          type: string
                        tags:
                          type: array
                          items:
                            type: string
                        scopes:
                          type: array
                          items:
                            type: string
                        visibility:
                          enum:
                            - private
                            - pending_review
                            - published
                          type: string
                        version:
                          type: integer
                          minimum: -9007199254740991
                          maximum: 9007199254740991
                        workflow:
                          type: object
                          properties:
                            nodes:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                  type:
                                    enum:
                                      - trigger.event
                                      - trigger.schedule
                                      - trigger.manual
                                      - trigger.manual_file
                                      - trigger.form_link
                                      - trigger.api
                                      - trigger.workflow_completion
                                      - source.query_transactions
                                      - source.query_clients
                                      - enrich.add_address
                                      - enrich.add_phone
                                      - enrich.add_email
                                      - enrich.add_legal_representative
                                      - enrich.add_controlling_beneficiary
                                      - enrich.add_document
                                      - enrich.add_evidence
                                      - enrich.add_transaction
                                      - enrich.add_bank_account
                                      - enrich.add_client
                                      - enrich.add_exchange_rate
                                      - transform.aggregate
                                      - transform.time_bucket
                                      - transform.window
                                      - transform.set_column
                                      - transform.python
                                      - detect.transaction_volume_anomaly
                                      - detect.transaction_outlier
                                      - detect.structuring
                                      - detect.dormant_account
                                      - combine.merge
                                      - combine.lookup
                                      - condition.filter
                                      - condition.if
                                      - condition.threshold
                                      - condition.time_window
                                      - action.create_alert
                                      - action.create_client_alert
                                      - action.upsert_client
                                      - action.upsert_transaction
                                      - action.upsert_email
                                      - action.upsert_phone
                                      - action.upsert_address
                                      - action.upsert_bank_account
                                      - action.upsert_legal_representative
                                      - action.upsert_controlling_beneficiary
                                      - ai.step
                                      - ocr.extract
                                      - form.otp_verification
                                      - form.choice
                                      - form.user_input
                                      - form.file_input
                                      - form.sign_document
                                      - form.upsert_client
                                      - form.upsert_address
                                      - form.upsert_phone
                                      - form.upsert_email
                                      - form.upsert_bank_account
                                      - form.upsert_legal_representative
                                      - source.get_reference_data
                                      - source.get_custom_reference_data
                                      - risk.calculate_pillar_by_reference
                                      - risk.calculate_pillar_by_expression
                                      - risk.calculate_pillar_by_condition
                                      - risk.save_client_assessment
                                      - risk.save_transaction_assessment
                                    type: string
                                  data:
                                    type: object
                                    propertyNames:
                                      type: string
                                    additionalProperties: {}
                                    default: {}
                                required:
                                  - id
                                  - type
                              default: []
                            edges:
                              type: array
                              items:
                                type: object
                                properties:
                                  id:
                                    type: string
                                    minLength: 1
                                  source:
                                    type: string
                                    minLength: 1
                                  target:
                                    type: string
                                    minLength: 1
                                  sourceHandle:
                                    type: string
                                  targetHandle:
                                    type: string
                                  shape:
                                    enum:
                                      - table
                                      - object
                                    type: string
                                required:
                                  - id
                                  - source
                                  - target
                              default: []
                        variableDefinitions:
                          type: array
                          items:
                            type: object
                            properties:
                              name:
                                type: string
                                minLength: 1
                                maxLength: 255
                              description:
                                type: string
                                maxLength: 1000
                              value: {}
                            required:
                              - name
                              - description
                        metadata:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                        sourceWorkflowId:
                          anyOf:
                            - type: string
                              format: uuid
                            - type: 'null'
                        sourceWorkflowEnvironment:
                          anyOf:
                            - type: string
                            - type: 'null'
                        publishedAt:
                          anyOf:
                            - type: string
                            - type: 'null'
                        createdAt:
                          type: string
                        updatedAt:
                          type: string
                      required:
                        - id
                        - organizationId
                        - name
                        - tags
                        - scopes
                        - visibility
                        - version
                        - workflow
                        - variableDefinitions
                        - createdAt
                        - updatedAt
                  pagination:
                    type: object
                    properties:
                      hasMore:
                        type: boolean
                      nextCursor:
                        type: string
                      totalCount:
                        type: integer
                        minimum: -9007199254740991
                        maximum: 9007199254740991
                    required:
                      - hasMore
                required:
                  - data
                  - pagination
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: API Key
      description: API key authentication. Obtain your API key from the dashboard.
    environmentHeader:
      type: apiKey
      in: header
      name: X-Environment
      description: Target environment for the request. Must be "test" or "live".

````