> For the complete documentation index, see [llms.txt](/llms.txt).
> A full single-fetch corpus is available at [llms-full.txt](/llms-full.txt).
---
title: "Apply deduplication"
description: "Remove duplicate draft items identified by a preview."
method: "POST"
endpoint: "/api/v1/projects/:projectId/datasets/:id/dedup/apply"
order: 14
group: "Deduplication"
last_verified: 2026-07-27
---

<ApiEndpoint method="POST" endpoint="/api/v1/projects/:projectId/datasets/:id/dedup/apply" description="Remove duplicate draft items identified by a preview.">
  <section>
    #### Body parameters
    <ApiAttribute name="remove_item_ids" type="array" description="Item UUIDs to remove." required={true} />
    <ApiAttribute name="keep_strategy" type="string" description="Which duplicate to keep when not explicitly listed, e.g. newest." required={false} />
  </section>
</ApiEndpoint>
