Skip to main content
You can filter the results of any query by using the filter argument. This makes it easy to retrieve specific information, like any threads assigned to a particular user, but much more complex queries are also possible. For example, to return all open threads that are assigned to a particular user, you can use the following query:

Operations

You can use the following operations to filter your results:

Logical operators

By defailt, all fields described in the filter need to be matched. The filter merges all conditions together using a logical and operator. For example, the below example will find all threads that were created before a specific timeframe and are assigned to a particular user.
To change the logical operator, all filters support the or keyword that lets you switch to a logical or operator. For example, to find all threads that were created before a specific timeframe or are assigned to a particular user, you can use the following query:

Filtering by relationship

Data can also be filtered based on their relations, For example, you can filter threads based on the properties of their owner. To query all threads assigned to a particular email address, you can use the following query: