Application API
    • Overview
    • Development Guide
    • Filter Demo
    • Guidelines for Using Filters
    • Field Type Comparison Table
    • ErrorCode
    • App
      • Get app information
        GET
      • Batch create app item groups
        POST
      • Batch create app items
        POST
    • Conversational bot
      • Create conversation bot
        POST
    • Worksheet
      • Get worksheet list
        POST
      • Create worksheet
        POST
      • Get worksheet structure information
        GET
      • Update worksheet structure
        POST
      • Delete worksheet
        DELETE
      • Batch create custom actions
        POST
    • Worksheet row records
      • Get row record list
        POST
      • Get row record details
        GET
      • Update row record
        PATCH
      • Delete row record
        DELETE
      • Create row record
        POST
      • Batch add row records
        POST
      • Batch update row record details
        PATCH
      • Batch delete row records
        DELETE
      • Get relation records
        GET
      • Get row record pivot data
        POST
      • Get record sharing link
        POST
      • Get row record logs
        GET
      • Get row record discussions
        GET
      • Get approval workflow execution details
        GET
      • Get approval process execution list by row record
        POST
    • Custom page
      • Updatecustom Page
    • Option set
      • Get option set list
      • Create option set
      • Edit option set
      • Disable option set
    • Public query
      • Find member
      • Find department
      • Get region information
    • Knowledge base
      • Get knowledge base list under the app
      • Knowledge base search
    • view
      • Batchcreateview
    • Workflow
      • Get trigger process list
      • Createworkflow
      • BatchcontentWorkflownode
      • Deleteworkflownode
      • Trigger workflow
      • Get trigger process details
      • Deleteworkflow
      • Get workflow structure details
      • Publishworkflow
      • Validateworkflow
    • Role
      • Get role list
      • Create role
      • Get role details
      • Delete role
      • Add role members
      • Remove role members
      • Member exits all roles
    • Chart
      • Createchart
    • Schemas
      • Schemas
        • options
        • relation
        • obj_base_response
        • obj_field
        • obj_filter
        • obj_record_row
        • obj_record_log
        • obj_record_discussion
        • obj_pivot_meta
        • obj_pivot_dimensions
        • obj_pivot_data
        • obj_process
        • obj_process_detail
        • obj_input
        • obj_output
        • obj_role
        • obj_role_permission
        • obj_user
        • obj_user_desensitized
        • obj_department
        • obj_custom_page
        • obj_optionset
        • obj_filter_children
        • obj_app
      • FilterTarget
      • FilterField
      • 鉴权信息
      • 人员对象
      • 自定义页面
      • 应用角色
      • 人员信息
      • 统计图数值字段参数
      • ApiError
      • BatchCreateViewsRequest
      • DataScope
      • ViewItem
      • Aggregation
      • BatchCreateViewsResponse
      • TimeRange
      • ChartType
      • DynamicRangePoint
      • DimensionItem
      • MetricItem
      • SortItem
      • CreateChartData
      • InlineChartConfig
      • ViewConfig
      • TextConfig
      • HtmlConfig
      • CarouselConfig
      • ButtonActionItem
      • ButtonConfig
      • TabConfig
      • ContainerConfig
      • ChartComponent
      • SectionComponent
      • TextComponent
      • HtmlComponent
      • ViewComponent
      • CarouselComponent
      • ButtonComponent
      • TabComponent
      • ContainerComponent
      • SaveCustomPageComponent
      • SaveCustomPageData
      • ComponentConfig
      • SaveCustomPageRequest
      • app
      • CreateChartRequest
      • SaveCustomPageResponseData
      • CreateChartResponseData
      • ButtonItem
      • Base response object
      • DimensionField
      • memberInfo
      • ValueField
      • department_with_path
      • SortField
      • departmentInfo
      • TimePointDynamic
      • regionInfo
      • process
      • process_detail
      • CustomDynamicRange
      • input
      • CustomRange
      • output
      • role
      • role_permission
      • optionset
      • field
      • CreateChartResponse
      • PageComponent
      • Position
      • filter_children
      • ErrorResponse
      • discussion
      • TabItem
      • SaveCustomPageResponse
      • User
      • WorkflowInputParameter
      • WorkflowOutputParameter
      • WorkflowNode
      • WorkflowValidationError
      • create_process_NodeRef
      • create_process_ValueRef
      • create_process_FieldValueRef
      • create_process_Filter
      • create_process_Condition
      • create_process_WorksheetEventTriggerConfig
      • create_process_ScheduleTriggerConfig
      • create_process_DateFieldTriggerConfig
      • create_process_WebhookTriggerConfig
      • create_process_TriggerSpec
      • batch_create_process_nodes_NodeRef
      • batch_create_process_nodes_ValueRef
      • batch_create_process_nodes_FieldValueRef
      • batch_create_process_nodes_RecordValueRef
      • batch_create_process_nodes_FieldPatch
      • batch_create_process_nodes_Filter
      • batch_create_process_nodes_Condition
      • batch_create_process_nodes_PersonRef
      • batch_create_process_nodes_AttachmentSpec
      • batch_create_process_nodes_FormProperty
      • batch_create_process_nodes_NodeSpec
      • batch_create_process_nodes_SortSpec
      • ApiResponseBase
      • WorkflowListType
      • WorkflowInstanceStatus
      • FlowNodeType
      • InstanceLogStatus
      • WorkItemOperationType
      • WorkItemLogAction
      • ApprovalAuthType
      • BatchRuleType
      • CallbackType
      • TriggerType
      • AppType
      • ApprovalResultBranchType
      • FailureCause
      • SignatureType
      • AppBrief
      • UserBrief
      • ControlValue
      • FlowNodeAuth
      • SelectNodeObject
      • FlowNode
      • InstanceLog
      • ProcessBrief
      • FileInfo
      • Signature
      • WorkItem
      • WorkItemLog
      • ChangedField
      • WorkflowInstance
      • BatchApprovalRequest
      • BatchApprovalInstance
      • BatchApprovalResult
      • OpinionRequest
      • ReturnRequest
      • bundled_2af3dc97c2fe
      • bundled_da9b1112b2d5
      • bundled_66310009f584
      • custom_page
      • worksheet
      • filter
      • record_row

    Guidelines for Using Filters

    Basic Syntax#

    Supported Operators#

    Comparison Operators#

    OperatorDescriptionExample Value
    eq​​Equal to"Beijing" or ["<targetid>"]
    neNot equal to"London" or ["<targetid>"]
    gtGreater than20 or "2025-02-06 00:00:00"
    geGreater than or equal to10
    ltLess than20
    leLess than or equal to100
    inIs one of["value1", "value2"]
    notinIs not any of["value1", "value2"]
    containsContains"Ch" or ["Sales Department", "Marketing Department"]
    notcontainsDoes not contain"Ch" or ["Sales Department", "Marketing Department"]
    concurrentContains["<id1>", "<id2>"]
    belongstoBelongs to["<departmentid>"]
    notbelongstoDoes not belong to["<departmentid>"]
    startswithStarts with"张"
    notstartswithDoes not start with"李"
    endswithEnds with"Company"
    notendswithDoes not end with"Limited Company"
    betweenIn range["2025-01-01", "2025-01-31"]
    notbetweenNot in range["10", "20"]

    Null Operator#

    OperatorDescriptionNotes
    isemptyIs emptyDoes not require a value field
    isnotemptyIs not emptyDoes not require a value field

    Special AccountIDs#

    IDDescription
    user-selfCurrent user
    user-subSubordinates
    user-workflowWorkflow
    user-apiAPI

    Usage Examples#

    Example 1: Filter Conditions#

    Query all employees with the surname "Zhang" who joined in January:
    {
    "type": "group",
    "logic": "AND",
    "children": [
    {
    "type": "condition",
    "field": "name",
    "operator": "startswith",
    "value": "Zhang"
    },
    {
    "type": "condition",
    "field": "onboard_date",
    "operator": "between",
    "value": ["2025-01-01", "2025-01-31"]
    }
    ]
    }

    Example 2: Condition Groups#

    Query all employees with the surname "Zhang" who joined in January in the Marketing and Sales Departments in North China:
    {
    "type": "group",
    "logic": "AND",
    "children": [
    {
    "type": "group", 
    "logic": "AND", 
    "children": [ 
    { 
    "type": "condition", 
    "field": "name", 
    "operator": "startswith", 
    "value": "张" 
    }, 
    { 
    "type": "condition", 
    "field": "onboard_date", 
    "operator": "between", 
    "value": ["2025-01-01", "2025-01-31"] 
    } 
    ] 
    }, 
    { 
    "type": "group", 
    "logic": "OR", 
    "children": [ 
    { 
    "type": "condition", 
    "field": "department_name", 
    "operator": "contains", 
    "value": ["Sales Department", "Marketing Department"] 
    }, 
    { 
    "type": "condition", 
    "field": "department_id", 
    "operator": "belongsto", 
    "value": ["North China ID"] 
    } 
    ] 
    } ]
    }

    Notes#

    1.
    Nesting Limitations: Supports a maximum of two levels of nesting (group -> group -> condition).
    2.
    Children Type Consistency: A group's children can only be either all group or all condition; a mixture is not allowed.
    3.
    Logic Required: When type is group, the logic field must be specified as AND or OR.
    4.
    Null Operator: The value field is not required when using isempty and isnotempty.
    5.
    Array Value: Certain operators require array values ​​(such as between, in, contains, concurrent, belongsto, etc.).
    6.
    Optional Fields: All optional fields (single-select and multiple-select) must use the corresponding option key value in an array as the value and use array-valued operators.
    7.
    Related Records: To filter the associated records, you need to first query the corresponding record_id and then filter by the array value rule.
    Modified at 2025-08-21 09:10:30
    Previous
    Filter Demo
    Next
    Field Type Comparison Table
    Built with