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

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

`GET /api/ee/content-diagnostics/stale`

## Request

- Base URL: `` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/ee/content-diagnostics/stale`
- Auth: API key in header `X-API-Key`

List **stale** findings - the latest valid `stale` finding per entity, permission-filtered
  for the current user. Each item is a flat identity + a nested `details` (collection, `description`, `owner`,
  `creator`, `threshold_days`). 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. `entity-types` (repeatable, omitted = all) narrows by type; the card sub-kinds
  are valid values, and `card` means any card type.
  `threshold-days` (positive int) keeps findings with `last_active_at` on or before `today -
  threshold-days` (never-used always pass). `query` case-insensitively substring-matches the entity name.
  `sort-column` (`detected-at`|`entity-type`|`name`|`created-at`|`created-by`|`collection-name`|
  `last-active-at`, 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' | 'last-active-at'
- `sort-direction` 'desc' | 'asc'
- `entity-types` union
  - 'transform' | 'question' | 'dashboard' | 'card' | 'document' | 'metric' | 'model'
  - string[]
- `threshold-days` 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
      - `owner` object, nullable, required
        - `email` string, nullable
        - `id` integer, nullable
        - `name` string, nullable
        - `type` string, required
      - `threshold_days` integer
      - `view_count` integer
    - `detected_at` string, date-time, required: value must be a valid date/time/datetime
    - `display` string, nullable
    - `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_active_at` string, date-time, nullable, required: value must be a valid date/time/datetime
  - `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/stale/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)
