/api/ee/content-diagnostics

GET /api/ee/content-diagnostics/duplicated

Changed on

List duplicated findings - the latest valid finding per (entity, finding-type) across the duplicated finding types (currently just duplicate_name), permission-filtered for the current user. Each item is a flat identity + a top-level duplicate_count (the number of other same-type entities sharing the normalized name) + a nested details (collection, description, owner, creator, normalized_name, and the hydrated same-type duplicate_entities peers). Card items also carry a top-level card_type (question|model|metric) - card findings only, denormalized at scan time. Paginated via limit/offset; total is the full valid count.

Params: include-personal-collections (default false) - when false, entities currently in a personal collection are excluded and personal-collection peers are omitted from duplicate_entities. entity-types (repeatable, omitted = all) narrows the flagged entity by type; the card sub-kinds are valid values, card means any card type, and collection finds same-named collections instance-wide, regardless of parent. Peers are not filtered - cards cluster across sub-kinds, so a model's peers can be questions. min-duplicate-count (positive int) keeps findings with at least that many peers. query case-insensitively substring-matches the entity name. sort-column (detected-at|entity-type|name|created-at|created-by|collection-name|duplicate-count, default detected-at) + sort-direction (asc|desc, default asc); id is the stable tiebreak.

get/api/ee/content-diagnostics/duplicated

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Query parameters

include-personal-collectionsboolean
sort-column'detected-at' | 'entity-type' | 'name' | 'created-at' | 'created-by' | 'collection-name' | 'duplicate-count'
sort-direction'desc' | 'asc'
'transform' | 'question' | 'dashboard' | 'card' | 'document' | 'collection' | 'metric' | 'model'
OR
string[]
min-duplicate-countinteger

value must be an integer greater than zero.

querystring

Response

Successful response

last_scan_atstring date-time nullable required

value must be a valid date/time/datetime

limitinteger nullable required
offsetinteger nullable required
totalinteger required

Changes