/api/ee/dependencies

GET /api/ee/dependencies/counts

Changed on

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.

get/api/ee/dependencies/counts

Request

  • Base URL
    (relative, and the document was published on a file host, not at the API’s origin)
  • Auth
    API key in header X-API-Key

Query parameters

'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment' | 'action' | 'data-app'
OR
MetabaseEnterpriseDependenciesDependencyTypesDependencyTypes[]
'question' | 'metric' | 'model'
OR
string[]
breaking-include-personal-collectionsboolean
'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment' | 'action' | 'data-app'
OR
MetabaseEnterpriseDependenciesDependencyTypesDependencyTypes[]
'question' | 'metric' | 'model'
OR
string[]
unreferenced-include-personal-collectionsboolean

Request body

object required

Response

Successful response

breakinginteger required
unreferencedinteger required

Changes