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

# Get workflow condition fields

> List the operators and standard lead/company fields available for CONDITIONAL plan nodes. Beyond the standard fields, a condition `field` may also be an AI-variable or custom field name. Use the entity prefixes (`company.`, `anyLead.`, `webhookInput.`) to reference related entities inside a condition. A condition entry may also be a random A/B split `{ "type": "RANDOM_SPLIT", "percentage": <1-100> }` instead of a field predicate (see `randomSplit` in the response).

    > **Required scope:** `WORKFLOWS_READ`
    >
    > **Rate limit:** 100 requests per minute



## OpenAPI

````yaml https://openapi.enginy.ai/definitions.json get /v1/workflows/condition-fields
openapi: 3.1.0
info:
  title: Enginy API
  version: 1.0.0
  description: Public API for Enginy platform
servers:
  - url: https://openapi.enginy.ai
    description: Configured server
security: []
tags:
  - name: AI Variables
    description: >-
      Manage AI variables and discover the entity fields you can reference in
      prompts and entity requests.
  - name: Inbox
    description: >-
      Inbox endpoints for listing contact threads, reading thread messages,
      managing tags, and sending manual replies.
  - name: Workflows
    description: >-
      Build, validate, publish, run, and inspect advanced (graph) workflows,
      plus the block/condition catalog needed to author a workflow plan.
paths:
  /v1/workflows/condition-fields:
    get:
      tags:
        - Workflows
      summary: Get workflow condition fields
      description: >-
        List the operators and standard lead/company fields available for
        CONDITIONAL plan nodes. Beyond the standard fields, a condition `field`
        may also be an AI-variable or custom field name. Use the entity prefixes
        (`company.`, `anyLead.`, `webhookInput.`) to reference related entities
        inside a condition. A condition entry may also be a random A/B split `{
        "type": "RANDOM_SPLIT", "percentage": <1-100> }` instead of a field
        predicate (see `randomSplit` in the response).

            > **Required scope:** `WORKFLOWS_READ`
            >
            > **Rate limit:** 100 requests per minute
      responses:
        '200':
          description: Condition fields retrieved successfully
          content:
            application/json:
              schema:
                type: object
                properties:
                  status:
                    type: string
                    enum:
                      - success
                  message:
                    type: string
                  data:
                    type: object
                    properties:
                      operators:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            symbol:
                              type: string
                            label:
                              type: string
                          required:
                            - id
                      fields:
                        type: array
                        items:
                          type: object
                          properties:
                            id:
                              type: string
                            label:
                              type: string
                            entity:
                              type: string
                          required:
                            - id
                      entityPrefixes:
                        type: array
                        items:
                          type: string
                      randomSplit:
                        type: object
                        properties:
                          format:
                            type: string
                          note:
                            type: string
                        required:
                          - format
                          - note
                        description: >-
                          Random A/B split condition shape: a condition entry
                          may be `{ "type": "RANDOM_SPLIT", "percentage":
                          <1-100> }` instead of a field predicate.
                    required:
                      - operators
                      - fields
                      - entityPrefixes
                      - randomSplit
                required:
                  - status
                  - message
                  - data
        '403':
          description: >-
            Advanced workflows are not enabled for this workspace. Ask your
            workspace admin to enable the feature.
      security:
        - apiKey: []
components:
  securitySchemes:
    apiKey:
      type: apiKey
      in: header
      name: x-api-key

````