How to send lineage to OpenMetadata using API? #5608
-
I am using the Python client. I want to know how Lineage works through API. |
Beta Was this translation helpful? Give feedback.
Replies: 1 comment
-
You can get the details through the lineage API. Here’s an example of API
You can find the API docs here - https://sandbox.open-metadata.org/docs#tag/lineage |
Beta Was this translation helpful? Give feedback.
You can get the details through the lineage API.
Please take a look at the schema to understand lineage.
https://github.com/open-metadata/OpenMetadata/blob/main/catalog-rest-service/src/main/resources/json/schema/type/entityLineage.json
Here’s an example of API
https://sandbox.open-metadata.org/api/v1/lineage/table/name/sample_data.ecommerce_db.shopify.raw_customer?upstreamDepth=3&downstreamDepth=3