Skip to main content
The Filter command (Command Type: 1004) selectively includes or excludes objects from a collection based on specific field values. It supports both allowlist and blocklist filtering modes.

Overview

The Filter command provides functionality for:
  • Including only objects whose field value matches the filter list
  • Excluding objects whose field value matches the filter list
  • Filtering by string, number, or boolean values

Command Type

Command Type ID: 1004

Parameters

Usage Examples

Include Only Specific Statuses

Exclude Specific IDs

Filter by Boolean Flag

Common Use Cases

  • Status Filtering: Keep only records in specific states (e.g. active, live)
  • ID Exclusion: Remove known irrelevant or blacklisted IDs
  • Feature Flagging: Filter based on boolean feature flags in the data
  • Distinct - Remove duplicates after filtering
  • Json Path - Extract specific fields from filtered results
  • Key Mapping - Remap fields after filtering