/api/ee/dependencies

GET /api/ee/dependencies/graph/broken

Changed on

Returns the broken dependents for a specific source entity. These are entities that have validation errors traced back to the specified source.

Required parameters:

  • id: The ID of the source entity
  • type: The type of the source entity (card, table)

Optional parameters:

  • dependent-types: Dependency types to filter by. Can be single value or array.
  • dependent-card-types: Card types to filter by when dependent-types includes :card.
  • include-personal-collections: Include items in personal collections (default: false)
  • sort-column: Column to sort by - name, location, or view-count (default: name)
  • sort-direction: Sort direction - asc or desc (default: asc)
get/api/ee/dependencies/graph/broken

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

idinteger required

value must be an integer greater than zero.

type'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment' | 'action' | 'data-app' required
'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment' | 'action' | 'data-app'
OR
MetabaseEnterpriseDependenciesDependencyTypesDependencyTypes[]
'question' | 'metric' | 'model'
OR
string[]
include-personal-collectionsboolean
sort-column'name' | 'view-count' | 'location'
sort-direction'desc' | 'asc'

Response

Successful response

dataobject required
idinteger required
typestring required

Changes

    • info

      added the new enum value action to the query request parameter type

    • info

      added the new enum value data-app to the query request parameter type

    • info

      added the enum value action to the property anyOf[metabase-enterprise.dependencies.dependency-types.dependency-types]/ of the query request parameter dependent-types

    • info

      added the enum value action to the property anyOf[subschema #2]/items/ of the query request parameter dependent-types

    • info

      added the enum value data-app to the property anyOf[metabase-enterprise.dependencies.dependency-types.dependency-types]/ of the query request parameter dependent-types

    • info

      added the enum value data-app to the property anyOf[subschema #2]/items/ of the query request parameter dependent-types

    • breaking

      added the new required query request parameter id

    • breaking

      added the new required query request parameter type

    • breaking

      the response's body type changed from object to array for status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • breaking

      removed the required property from the response with the status

    • warning

      deleted the query request parameter archived

    • warning

      deleted the query request parameter card_types

    • warning

      deleted the query request parameter include_personal_collections

    • warning

      deleted the query request parameter query

    • warning

      deleted the query request parameter sort_column

    • warning

      deleted the query request parameter sort_direction

    • warning

      deleted the query request parameter types

    • info

      api operation id get-api-ee-dependencies-graph-broken was added

    • info

      added the new optional query request parameter dependent-card-types

    • info

      added the new optional query request parameter dependent-types

    • info

      added the new optional query request parameter include-personal-collections

    • info

      added the new optional query request parameter sort-column

    • info

      added the new optional query request parameter sort-direction