Skip to main content
The Distinct command (Command Type: 1010) returns distinct values from a collection based on a specified key. Objects with the same value for the specified key are treated as duplicates and deduplicated.

Overview

The Distinct command provides functionality for:
  • Deduplicating arrays of objects by a specific field
  • Retaining the first occurrence of each unique value
  • Reducing collection size before downstream processing

Command Type

Command Type ID: 1010

Parameters

Usage Examples

Deduplicate by ID

Deduplicate by Name

Deduplicate by Event Type

Common Use Cases

  • Deduplication: Remove duplicate items from scraped data collections
  • Data Normalization: Ensure unique records before processing or publishing
  • Pre-filter Cleanup: Reduce redundant entries before downstream commands