Back to Lineage

Lineage API

Programmatically access and push lineage data.

Endpoints

Get Lineage

GET /api/v1/lineage/{assetId}
GET /api/v1/lineage/{assetId}/upstream?depth=3
GET /api/v1/lineage/{assetId}/downstream?depth=3

Push Lineage

POST /api/v1/lineage
{
  "source": "source_asset_id",
  "target": "target_asset_id",
  "transformation": "SQL or description"
}

Bulk Push

POST /api/v1/lineage/bulk
[
  {"source": "a", "target": "b"},
  {"source": "b", "target": "c"}
]

dbt Integration

Upload your dbt manifest.json to automatically parse model dependencies.