---
title: "GET /api/ee/stale/{id}"
method: GET
path: "/api/ee/stale/{id}"
tags: ["/api/ee/stale"]
---

# GET /api/ee/stale/{id}

`GET /api/ee/stale/{id}`

A flexible endpoint that returns stale entities, in the same shape as collections/items, with the following options:
  - `before_date` - only return entities that were last edited before this date (default: 6 months ago)
  - `is_recursive` - if true, return entities from all children of the collection, not just the direct children (default: false)
  - `sort_column` - the column to sort by (default: name)
  - `sort_direction` - the direction to sort by (default: asc)

## Path parameters

- `id` union, required
  - integer — value must be an integer greater than zero.
  - 'root'

## Query parameters

- `before_date` string, nullable
- `is_recursive` boolean, required
- `sort_column` 'name' | 'last_used_at', required
- `sort_direction` 'asc' | 'desc', required

## Response `2XX`

Successful response

## Other responses

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

---

[API](https://skmtc.net/metabase/apis/metabase-api.md) · [All operations](https://skmtc.net/metabase/apis/metabase-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/metabase/metabase-api/revisions/08b5a2bafb4f/schema)
