Skip to main content
POST
Filter
This endpoint creates a new filter for use in stream transformations. Filters support comparison operators (=, !=, >, >=, <, <=), the in operator for matching against arrays or data sources, the exists operator for field presence checks, and compound AND/OR logic for complex conditions.
See the Filter Syntax documentation for complete details on all operators, nested conditions, and examples.

Example Filter with Data Source

Example Filter with Array Values

Example Compound Filter

Supported Operators

Old Filter Syntax (Deprecated)

The old filter syntax with "type": "data_source" and uppercase operators is deprecated. We recommend using the new syntax shown above.

Next Steps

Filter Syntax

Learn how to filter streams with complex conditions

Authorizations

X-API-KEY
string
header
required

Body

application/json
filter
Filter · object
required

Response

Successful Response

message
string
required
result_id
string<uuid> | null