v12

latestOpenAPI 3.1.0AGPL-3.0raw.githubusercontent.com2026-05-286377631.6 MB
/api/ee/dependencies

GET /api/ee/dependencies/graph/unreferenced

Returns a list of all unreferenced items in the instance. An unreferenced item is one that is not a dependency of any other item.

Accepts optional parameters for filtering:

  • types: List of entity types to include (e.g., [:card :transform :snippet :dashboard])
  • card-types: List of card types to include when filtering cards (e.g., [:question :model :metric])
  • query: Search string to filter by name or location
  • archived: Controls whether archived entities are included
  • include-personal-collections: Controls whether items in personal collections are included (default: false)
  • sort-column: Sort column - :name, :location, :dependents-errors, or :dependents-with-errors (default: :name)
  • sort-direction: Sort direction - :asc or :desc (default: :asc)
  • offset: Default 0
  • limit: Default 50

Returns a map with:

  • data: List of unreferenced items, each with :id, :type, and :data fields
  • total: Total count of matched items
  • offset: Applied offset
  • limit: Applied limit
get/api/ee/dependencies/graph/unreferenced

Query parameters

'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment'
OR
MetabaseEnterpriseDependenciesDependencyTypesDependencyTypes[]
'question' | 'metric' | 'model'
OR
string[]
querystring
archivedboolean
include-personal-collectionsboolean
sort-column'dependents-with-errors' | 'dependents-errors' | 'name' | 'location'
sort-direction'desc' | 'asc'

Response

Successful response

limitinteger required

value must be an integer greater than zero.

offsetinteger required
totalinteger required