Skip to main content

Lineage

Datasets, dashboards and dbt models in one graph. Lineage answers two questions before you change anything: what is this built from, and what uses it. A column renamed in a source reaches the dashboards it feeds; the graph shows which ones first.

In the app​

A dataset, a question and a dashboard each have a Lineage panel: the object in the middle, what it is built from on one side, what uses it on the other. Each node opens its own page. A dbt project shows the graph of its models and sources.

With the SDK and MCP​

One endpoint walks the graph from any node, written <type>:<id>: connection:3, dataset:42, dbt_source:20, dbt_model:1, question:5, viz:663.

from vibedasher import Vibedasher

client = Vibedasher()
graph = client.lineage.get(node="dataset:42", direction="down", depth=3)
for node in graph.nodes:
print(node.id, node.label, node.has_access)
const graph = await client.lineage.get({ node: 'dataset:42', direction: 'down', depth: 3 });

Over MCP: get_lineage(node="dataset:42", direction="down"). Before an agent changes a dataset's SQL, the downstream walk is the list of dashboards to rebuild and check.

Limits​

  • direction is up (what it is built from), down (what uses it) or both; depth is 1 to 6 hops, 3 by default.
  • The graph is read with your access. The root must be something you can open. A node you cannot open still appears, so the shape of the graph is true, with its label redacted and hasAccess: false.
  • One answer holds at most 500 nodes; a larger fan-out comes back marked truncated, so start from a narrower node or lower the depth.

Reference​