v12

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

GET /api/ee/dependencies/graph

This endpoint takes an :id and a supported entity :type, and returns a graph of all its upstream dependencies. The graph is represented by a list of :nodes and a list of :edges. Each node has an :id, :type, :data (which depends on the node type), and a map of :dependent_counts per entity type. Each edge is a :model/Dependency.

Optional :archived parameter controls whether entities in archived collections are included:

  • false (default): Excludes entities in archived collections
  • true: Includes entities in archived collections
get/api/ee/dependencies/graph

Query parameters

idinteger

value must be an integer greater than zero.

type'transform' | 'table' | 'snippet' | 'dashboard' | 'sandbox' | 'measure' | 'card' | 'document' | 'segment'
archivedboolean

Response

Successful response