Duplicate a segment with lineage tracking
Creates a new segment pre-populated from the source segment. Core and subtype-specific attributes are carried; underlying computed data (match results, lookalike/propensity scores) is referenced, never recomputed. Records parent_segment_id, derived_from (root ancestor — propagates through duplicate-of-duplicate chains), and parent_segment_version for lineage. The duplicate gets fresh created_at/updated_at and a fresh 90-day expires_at. No audience wrapper is created.
Per-subtype behavior:
-
filter — status active, record_count reset to null (recount via POST /v1/segments/{id}/count), version history restarts at current_version: 1. A filter segment's record_limit is copied; the duplicate's seeded selection differs from the source's.
-
matched — record_count and match_count carried. The duplicate references the source's stored match results, so it stays deliverable without re-running the match. Sources with expired/failed status or incomplete match data are rejected with 409 SOURCE_MATCH_UNAVAILABLE.
-
similarity/propensity — seed/model references and record_count carried; the duplicate points at the same generated scores.
Pending or failed sources are rejected with 409 SOURCE_NOT_READY. Requires 'creator' scope.
Request
- Base URL: https://api.infiniteaudience.ai
- URL: https://api.infiniteaudience.ai/v1/segments/{id}/duplicate
- Auth: HTTP bearer
Path parameters
Source segment document ID.
Request body
Response
Duplicated segment created.
Changes
No recorded changes to this operation across all 1 revision of this API.