---
title: "GET /api/ee/dependencies/counts"
method: GET
path: "/api/ee/dependencies/counts"
tags: ["/api/ee/dependencies"]
---

# GET /api/ee/dependencies/counts

`GET /api/ee/dependencies/counts`

## Request

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

Returns the `total` of the `/graph/breaking` and `/graph/unreferenced` lists in one request.

   Accepts each list's `types`, `card-types`, and `include-personal-collections` params, prefixed with the list's
   name (e.g. `breaking-types`, `unreferenced-include-personal-collections`). Omitted params use the list's
   defaults.

## Query parameters

- `breaking-types` union
  - 'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment' | 'action' | 'data-app'
  - MetabaseEnterpriseDependenciesDependencyTypesDependencyTypes[]
- `breaking-card-types` union
  - 'question' | 'metric' | 'model'
  - string[]
- `breaking-include-personal-collections` boolean
- `unreferenced-types` union
  - 'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment' | 'action' | 'data-app'
  - MetabaseEnterpriseDependenciesDependencyTypesDependencyTypes[]
- `unreferenced-card-types` union
  - 'question' | 'metric' | 'model'
  - string[]
- `unreferenced-include-personal-collections` boolean

## Request body

- object

## Response `2XX`

Successful response

- object
  - `breaking` integer, required
  - `unreferenced` 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/dependencies/counts/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)
