Lineage
The Lineage API allows you to track and manage data lineage relationships between assets in your Decube organization. Use these endpoints to visualize, create, and maintain manual lineage connections, supporting data governance and impact analysis across your data ecosystem.
List any manual lineages attached to an object in the specified direction
The ID of the object to list lineages for
The type of the object to list lineages for
Whether the object is the source or target of the lineage
GET /api/v1/data/catalog/lineage/manual_lineage?id=1&type=dataset&object_is=source HTTP/1.1
Host: connect.<REGION>.decube.io
Accept: */*
[
{
"id": 1,
"source": {
"type": "text",
"name": "text",
"id": 1,
"subtype": "bigquery",
"qual_id": "text",
"icon": "text"
},
"target": {
"type": "text",
"name": "text",
"id": 1,
"subtype": "bigquery",
"qual_id": "text",
"icon": "text"
},
"data_job": {
"type": "text",
"name": "text",
"id": 1,
"subtype": "bigquery",
"qual_id": "text",
"icon": "text"
}
}
]
Create a manual lineage between two objects, returns the ID of the generated lineage
POST /api/v1/data/catalog/lineage/manual_lineage HTTP/1.1
Host: connect.<REGION>.decube.io
Content-Type: application/json
Accept: */*
Content-Length: 105
{
"source": {
"id": 1,
"type": "dataset"
},
"target": {
"id": 1,
"type": "dataset"
},
"data_job": {
"id": 1,
"type": "text"
}
}
1
Delete a manual lineage between two objects
The ID of the source object
The type of the source object
The ID of the target object
The type of the target object
DELETE /api/v1/data/catalog/lineage/manual_lineage?source_id=1&source_type=dataset&target_id=1&target_type=dataset HTTP/1.1
Host: connect.<REGION>.decube.io
Accept: */*
No content
Last updated