Search…
Filtering records
How to use filters
For types that support filters (all of them but User), results can be filtered using the following syntax:
1
my_query(filter: {field_to_filter: {predicate: value}) {
2
...
3
}
Copied!
It is also possible to combine several filters together:
1
my_query(filter: {first_field_to_filter: {predicate: value}, second_field_to_filter: {predicate: value}, ... ) {
2
...
3
}
Copied!

Supported filters

Triggers

Filter name
Supported predicates
Type
UUID
eq
UUID
UUID
in
array of UUIDs
createdAt
eq, gte, lte
datetime
updatedAt
eq, gte, lte
datetime
matchesCount
gte, lte
int
name
contains, eq
string
type
eq
TriggerType
type
in
array of TriggerTypes
isActive
eq
boolean
triggered
eq
boolean

Matches

Filter name
Supported predicates
Type
UUID
eq
UUID
UUID
in
array of UUIDs
triggerUUID
eq
UUID
triggerUUID
eq
array of UUIDs
createdAt
eq, gte, lte
datetime

Outcomes

Filter name
Supported predicates
Type
UUID
eq
UUID
UUID
in
array of UUIDs
triggerUUID
eq
UUID
triggerUUID
eq
array of UUIDs
matchUUID
eq
UUID
matchUUID
eq
array of UUIDs
createdAt
eq, gte, lte
datetime