Documentation Index
Fetch the complete documentation index at: https://docs.pipedata.io/llms.txt
Use this file to discover all available pages before exploring further.
pd uniq creates a transform pipe that reads from a source pipe and emits each record only once. Duplicates are detected by the parsed record, not by the raw JSON text.
TL;DR
How it works
pd uniq <name> --from <source> creates a new pipe <name> that reads everything from <source> and emits each unique record once. The new pipe starts running immediately; it’s a regular pipe you can pull, pause, or feed into a dest http.
What counts as a duplicate
Records are hashed after JSON parsing, so formatting differences are ignored. Object keys are sorted before hashing, and types are not coerced. These all hash the same — they’re one record, deduplicated:| Flag | Default | Purpose |
|---|---|---|
--from | Source pipe to dedupe. Required on create. | |
--duplicates | false | Invert: emit only the duplicates (one per group) instead of uniques. |
--start-id | 0 | First record ID in the source to consider. |
Common patterns
Dedupe then forwardSee also
- Forward to a webhook — chain
uniq→dest http. pd uniqin the command reference.