Skip to main content

Lineage

The Lineage API lets you manage data lineage relationships between any two entities in OpenMetadata. Lineage captures how data flows from sources to destinations, including column-level mappings and pipeline references.

Available Endpoints

Get Lineage

Retrieve the lineage graph for an entity by ID or fully qualified name, with configurable upstream and downstream depth.

Add Lineage

Create a lineage edge between two entities with optional column-level mappings, pipeline references, and SQL queries.

Delete Lineage

Remove a lineage edge between two entities.

Export Lineage

Export the lineage graph for an entity as CSV.

Supported Entity Types

Lineage can be established between any entity types in OpenMetadata. Common combinations include:

Key Concepts

  • Edge: A directional lineage relationship from one entity to another
  • Column-level lineage: Mapping specific columns from a source entity to columns in a target entity
  • Pipeline reference: Associating a pipeline entity that powers the transformation
  • Upstream/Downstream depth: Controls how many hops to traverse when querying the lineage graph