Skip to main content
The Lineage API provides access to data asset relationships, showing upstream sources and downstream dependencies. Use it for impact analysis and understanding data flow.

Endpoints

List Assets with Lineage

Query Parameters

Response

Get Asset Lineage

Query Parameters

Response

Relationship Types

Use Case: Check Upstream Before Pipeline

Verify all upstream sources are fresh before running:

Use Case: Impact Analysis

Before making schema changes, check downstream impact:
Output:

Common Questions

How deep can I traverse lineage in one request?

Pass depth from 1 to 5 on GET /lineage/{id}. Depth 1 returns direct neighbors, which is cheap and enough for most impact-analysis UIs. Higher depths fan out quickly, so avoid depth 5 in tight loops and paginate the results you consume.

Where does lineage come from?

Lineage is derived from warehouse query history, dbt manifests, and view definitions for supported sources, then enriched with dashboard consumers (Looker, Tableau, Mode). You won’t see relationships for sources that don’t expose query history or for ad-hoc scripts run outside the warehouse.

What do the relationship types mean?

derives_from marks transformation-based derivation (CREATE TABLE AS, dbt models). joins_with captures co-used inputs. feeds_into describes a non-derivation downstream consumer (e.g., a dashboard). copies_to is a direct copy, and references is a lookup/FK-style join.