Deduplication
Create Ai Ready Slice
Create an AI-ready data slice gated on the caller’s chosen AI Readiness statuses.
This spans all AI Readiness / Data Quality Status dimensions — ‘redundant’
(duplicate, from dedup), ‘expired’ (stale), ‘irrelevant’ (off-topic), and
‘sensitive’ (fails a safety/PII rule) — not dedup alone. Which of these are
excluded from the resulting slice is entirely caller-controlled via
exclude_statuses.
- Verifies the seeded ‘AI Readiness’ tag exists
- Clears ‘redundant’ from the files the reviewer marked “not a duplicate”
(
rejected_group_ids/rejected_file_ids) - Tags the other non-representative duplicate files as ‘redundant’ (the one status
this endpoint can compute itself, from dedup groups), but only when the
caller chose to exclude ‘redundant’ (see
exclude_statuses) — tagging is a persistent side effect and must follow the caller’s selection rather than running unconditionally. Files already carrying another AI Readiness status (e.g. ‘expired’, ‘irrelevant’, ‘sensitive’ — set by other flows) are read as-is, not recomputed here. - Creates a data slice with condition excluding files whose AI Readiness
status is one of the caller’s chosen
exclude_statusesvalues, across all four dimensions above
POST
Python
Authorizations
Body
application/json
Response
Successful Response
