> ## 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 variables with filtering and pagination



## OpenAPI

````yaml /openapi/workflows.json post /workflows/variables/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:
  /workflows/variables/list:
    post:
      tags:
        - Workflows
      summary: List workflow variables with filtering and pagination
      operationId: workflows.variables.list
      requestBody:
        required: false
        content:
          application/json:
            schema:
              type: object
              properties:
                filter:
                  type: object
                  properties:
                    search:
                      type: string
                      minLength: 1
                      maxLength: 200
                      description: Search
                    id:
                      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: ID
                    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
                    type:
                      anyOf:
                        - enum:
                            - string
                            - number
                            - boolean
                            - date
                            - timestamp
                          type: string
                        - type: object
                          properties:
                            eq:
                              enum:
                                - string
                                - number
                                - boolean
                                - date
                                - timestamp
                              type: string
                            in:
                              type: array
                              items:
                                enum:
                                  - string
                                  - number
                                  - boolean
                                  - date
                                  - timestamp
                                type: string
                            nin:
                              type: array
                              items:
                                enum:
                                  - string
                                  - number
                                  - boolean
                                  - date
                                  - timestamp
                                type: string
                      description: Type
                    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
                    referenceDate:
                      anyOf:
                        - type: string
                          format: date
                        - type: object
                          properties:
                            eq:
                              type: string
                              format: date
                            gt:
                              type: string
                              format: date
                            gte:
                              type: string
                              format: date
                            lt:
                              type: string
                              format: date
                            lte:
                              type: string
                              format: date
                      description: Reference Date
                    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
                sort:
                  type: array
                  items:
                    type: object
                    properties:
                      field:
                        enum:
                          - name
                          - effectiveDate
                          - 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:
                        name:
                          type: string
                          minLength: 1
                          maxLength: 255
                          pattern: ^[A-Z][A-Z0-9_]*$
                          description: Name
                        value:
                          description: Value
                        type:
                          enum:
                            - string
                            - number
                            - boolean
                            - date
                            - timestamp
                          type: string
                          description: Type
                          default: string
                        description:
                          type: string
                          maxLength: 2000
                          description: Description
                        metadata:
                          type: object
                          propertyNames:
                            type: string
                          additionalProperties: {}
                          description: Metadata
                        effectiveDate:
                          type: string
                          format: date
                          description: Effective Date
                        id:
                          type: string
                          format: uuid
                        organizationId:
                          type: string
                        environment:
                          enum:
                            - test
                            - live
                          type: string
                        scope:
                          enum:
                            - system
                            - organization
                          type: string
                        createdAt:
                          type: string
                          format: date-time
                        updatedAt:
                          type: string
                          format: date-time
                      required:
                        - name
                        - effectiveDate
                        - id
                        - organizationId
                        - environment
                        - scope
                        - 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".

````