Application API
  1. V3 (AI-friendly-beta)
Application API
  • V3 (AI-friendly-beta)
    • Overview
    • Field Type Comparison Table
    • Guidelines for Using Filters
    • Error Code
    • application
      • Get application information
    • worksheet
      • Get worksheet structure information
      • Edit the worksheet
      • Delete worksheets
      • Create worksheet
    • worksheet Row Records
      • Get a list of line records
      • Get line record details
      • Update line records
      • Delete line records
      • Get relation records
      • Create a new row record
      • Add new line records in batches
      • Batch update line records
      • Batch delete row records
      • Obtain line record perspective data
      • Get record sharing links
      • Get a row record log
      • Get line record discussion
    • option set
      • Get a list of option sets
      • Create an option set
      • Edit option set
      • Delete option set
    • workflow
      • Get a list of processes
      • Get process details
      • Trigger process
    • role
      • Get a list of roles
      • create role
      • Get role details
      • remove roles
      • Add role members
      • Remove role members
      • Members withdraw from all roles
    • public query
      • find members
      • Find departments
      • Get regional information
  • V2
    • Development Guide
    • ErrorCode
    • Filter Demo
    • Filter
    • Options Set
      • Add Option Set
      • Get Option Set
      • Edit Option Set
      • Delete Option Set
    • Application Role
      • Get Application Role List GET
      • Create Application Role
      • Delete Application Role
      • Add Application Role Member
      • Remove Application Role Member
      • Exit application
      • Get Role Details
    • worksheet
      • Create Worksheet
      • Get worksheet structure information
      • Get List
      • Create Row Record
      • Batch Create Row Records
      • Get Row Record Details
      • Get row record details
      • Update Row Record Details
      • Batch Update Row Record Details
      • Delete Row Record
      • Get associated record
      • Get Record Share Link
      • Get total row count of worksheet
      • Get Row Record Log
    • app
      • Get Application Information
    • Public Inquiries
      • Get regional Information
    • Get Row Record Discussions
      POST
  1. V3 (AI-friendly-beta)

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
Field Type Comparison Table
Next
Error Code
Built with