filter@v1 stages.
Logical Operators
Mixpeek filters support three logical operators for composing conditions:| Operator | Description | Usage |
|---|---|---|
AND | All conditions must be true | Combine multiple required constraints |
OR | At least one condition must be true | Match any of several alternatives |
NOT | Inverts the condition | Exclude matching documents |
AND Operator
Requires all nested conditions to match:OR Operator
Matches if any nested condition is true:NOT Operator
Excludes documents matching the condition:Nesting Operators
Logical operators can be nested to create complex filter logic:- Published AND
- Either video or audio AND
- Not restricted
Comparison Operators
Use these operators within conditions:| Operator | Description |
|---|---|
eq | Equals |
ne | Not equals |
gt | Greater than |
gte | Greater than or equal |
lt | Less than |
lte | Less than or equal |
in | Value in list |
nin | Value not in list |
exists | Field exists |
is_null | Field is null |
contains | String contains substring |
starts_with | String starts with prefix |
ends_with | String ends with suffix |
regex | Matches regular expression |
Using Templates
Reference request inputs or stage outputs in filter values:Filter Stage Example
Options
| Option | Default | Description |
|---|---|---|
case_sensitive | false | Enable case-sensitive string comparisons |

