Searching and Filtering
Quick Start
query FilterComponents {
component {
filter(
input: {
and: [
{ status: { name: { eq: "Design" } } }
{ updatedAt: { after: "2024-12-01" } }
]
}
) {
edges {
node {
id
name
cpn
status {
name
}
}
}
totalCount
}
}
}Part 1: Advanced Filter API
API Structure Overview
Field
Type
Description
Operators Reference
String Operators
Operator
Description
Example
Date Operators
Operator
Description
Example
Revision Operators
Operator
Description
Example
Boolean Operators
Operator
Example
Practical Examples
Example 1: Find Production-Ready Components
Example 2: Find Components by Category Type
Example 3: Find Recently Modified Components by a Specific User
Example 4: Using OR Logic
Example 5: Complex Multi-Condition Query
Example 6: Date Range Query
Pagination and Sorting
Part 2: AI-Powered Search
Single-Call Search (Recommended)
Input Options
Field
Type
Default
Description
Response Structure
Field
Type
Description
cURL Example
Example Response
Handling Partial Matches
Best Practices
Complete Python Example
Paginating Large Result Sets
Two-Step Approach (Advanced)
Part 3: Tips and Best Practices
Performance Tips
Common Patterns
"Recently modified by me"
"All released parts except obsolete"
"Components with any of these labels"
"Early revisions only"
Debugging Filters
Complete API Reference
AdvancedComponentFilterInput
ComponentFilterConditionInput
StatusFilterInput
ComponentCategoryFilterInput
LabelFilterInput
StringOperatorsInput
DateFilterInput
RevisionOperatorsInput
BooleanFilterInput
FilterWithAiInput (Recommended)
FilterWithAiOutput
BuildAiFilterInput (Two-Step Approach)
AiFilterResult
AdvancedComponentFilterOutput
Next Steps
Last updated
Was this helpful?