curl --request GET \
--url https://app.datafold.com/api/internal/lineagev2/dataset-column-lineage/{dataset_id} \
--header 'Authorization: <api-key>'{
"columns": [
{
"assetType": "<string>",
"id": "<string>",
"name": "<string>",
"tableId": "<string>",
"tableName": "<string>",
"depth": 0,
"isSelected": true,
"isSource": true,
"popularity": 0,
"semanticModel": "<string>",
"totalQueries30d": 123,
"workspace": "<string>"
}
],
"dataset": {
"assetType": "<string>",
"id": "<string>",
"name": "<string>"
},
"downstream": [
{
"assetType": "<string>",
"id": "<string>",
"name": "<string>",
"tableId": "<string>",
"tableName": "<string>",
"depth": 0,
"isSelected": true,
"isSource": true,
"popularity": 0,
"semanticModel": "<string>",
"totalQueries30d": 123,
"workspace": "<string>"
}
],
"edges": [
{
"source": "<string>",
"target": "<string>"
}
],
"upstream": [
{
"assetType": "<string>",
"id": "<string>",
"name": "<string>",
"tableId": "<string>",
"tableName": "<string>",
"depth": 0,
"isSelected": true,
"isSource": true,
"popularity": 0,
"semanticModel": "<string>",
"totalQueries30d": 123,
"workspace": "<string>"
}
],
"queries": []
}Get column-level lineage for a dataset.
curl --request GET \
--url https://app.datafold.com/api/internal/lineagev2/dataset-column-lineage/{dataset_id} \
--header 'Authorization: <api-key>'{
"columns": [
{
"assetType": "<string>",
"id": "<string>",
"name": "<string>",
"tableId": "<string>",
"tableName": "<string>",
"depth": 0,
"isSelected": true,
"isSource": true,
"popularity": 0,
"semanticModel": "<string>",
"totalQueries30d": 123,
"workspace": "<string>"
}
],
"dataset": {
"assetType": "<string>",
"id": "<string>",
"name": "<string>"
},
"downstream": [
{
"assetType": "<string>",
"id": "<string>",
"name": "<string>",
"tableId": "<string>",
"tableName": "<string>",
"depth": 0,
"isSelected": true,
"isSource": true,
"popularity": 0,
"semanticModel": "<string>",
"totalQueries30d": 123,
"workspace": "<string>"
}
],
"edges": [
{
"source": "<string>",
"target": "<string>"
}
],
"upstream": [
{
"assetType": "<string>",
"id": "<string>",
"name": "<string>",
"tableId": "<string>",
"tableName": "<string>",
"depth": 0,
"isSelected": true,
"isSource": true,
"popularity": 0,
"semanticModel": "<string>",
"totalQueries30d": 123,
"workspace": "<string>"
}
],
"queries": []
}Use the 'Authorization' header with the format 'Key
Successful Response
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes
Show child attributes