---
title: "GET /api/ee/content-diagnostics/duplicated"
method: GET
path: "/api/ee/content-diagnostics/duplicated"
tags: ["/api/ee/content-diagnostics"]
---

# GET /api/ee/content-diagnostics/duplicated

`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)
- URL: `/api/ee/content-diagnostics/duplicated`
- Auth: API key in header `X-API-Key`

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.

## Query parameters

- `include-personal-collections` boolean
- `sort-column` 'detected-at' | 'entity-type' | 'name' | 'created-at' | 'created-by' | 'collection-name' | 'duplicate-count'
- `sort-direction` 'desc' | 'asc'
- `entity-types` union
  - 'transform' | 'question' | 'dashboard' | 'card' | 'document' | 'collection' | 'metric' | 'model'
  - string[]
- `min-duplicate-count` integer
- `query` string

## Response `2XX`

Successful response

- object
  - `data` object[], required
    - `can_write` boolean, required
    - `card_type` string, nullable
    - `collection_name` string, nullable, required
    - `created_at` string, date-time, nullable, required: value must be a valid date/time/datetime
    - `details` object, required
      - `collection` object, nullable, required
        - `effective_ancestors` object[], required
          - `id` union, required
            - integer
            - 'root'
          - `name` union, required
            - string
            - string
        - `id` union, required
          - integer
          - 'root'
        - `name` union, required
          - string
          - string
        - `namespace` string, nullable, required
      - `creator` object, nullable, required
        - `id` integer, required
        - `name` string, nullable, required
        - `type` 'user', required
      - `description` string, nullable, required
      - `duplicate_entities` object[], required
        - `card_type` string, nullable
        - `display` string, nullable
        - `entity_type` string, required
        - `id` integer, required
        - `name` string, nullable, required
        - `namespace` string, nullable
        - `view_count` integer
      - `normalized_name` string, required
      - `owner` object, nullable, required
        - `email` string, nullable
        - `id` integer, nullable
        - `name` string, nullable
        - `type` string, required
      - `view_count` integer
    - `detected_at` string, date-time, required: value must be a valid date/time/datetime
    - `display` string, nullable
    - `duplicate_count` integer, required
    - `entity_display_name` string, nullable, required
    - `entity_id` integer, required
    - `entity_kind` string, required
    - `entity_type` string, required
    - `finding_type` string, required
    - `id` integer, required
  - `last_scan_at` string, date-time, nullable, required: value must be a valid date/time/datetime
  - `limit` integer, nullable, required
  - `offset` integer, nullable, required
  - `total` integer, required

## Other responses

- `4XX`: Client error response
- `5XX`: Server error response

## Changes

- **2026-11-04** `2e178f5a7934`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/metabase/apis/metabase-api/changes/api/ee/content-diagnostics/duplicated/get.md)

---

[API](https://skmtc.dev/metabase/apis/metabase-api.md) - [All operations](https://skmtc.dev/metabase/apis/metabase-api/llms.txt) - [OpenAPI document](https://skmtc.dev/metabase/apis/metabase-api/revisions/2e178f5a7934?raw)
