Skip to main content
PUT
PUT /v1/lineage

Add Lineage

Create a lineage edge between two entities. Supports column-level lineage mappings, pipeline references, and SQL query annotations.
The Python examples on this page use the original client (metadata.ingestion.ometa.ometa_api.OpenMetadata) because SDK 2.0 (metadata.sdk) doesn’t include lineage operations. For more information, see Which Python SDK Should I Use?.

Request Body

object
required
The lineage edge to create.
PUT /v1/lineage

Returns

Returns 200 OK with no response body after the edge is saved. To retrieve the resulting graph, use Get Lineage.

Error Handling