Skip to main content
GET
/
api
/
v1
/
lineagev2
/
column-lineage
/
{column_id}
Get column-level lineage (field-level data flow)
curl --request GET \
  --url https://app.datafold.com/api/v1/lineagev2/column-lineage/{column_id} \
  --header 'Authorization: <api-key>'
{
  "column": {
    "assetType": "<string>",
    "id": "<string>",
    "name": "<string>",
    "tableId": "<string>",
    "tableName": "<string>",
    "isSource": true
  },
  "downstream": [
    {
      "assetType": "<string>",
      "id": "<string>",
      "name": "<string>",
      "tableId": "<string>",
      "tableName": "<string>",
      "isSource": true
    }
  ],
  "edges": [
    {
      "source": "<string>",
      "target": "<string>"
    }
  ],
  "upstream": [
    {
      "assetType": "<string>",
      "id": "<string>",
      "name": "<string>",
      "tableId": "<string>",
      "tableName": "<string>",
      "isSource": true
    }
  ],
  "queries": []
}

Authorizations

Authorization
string
header
required

Use the 'Authorization' header with the format 'Key '

Path Parameters

column_id
string
required

Query Parameters

direction
string
default:both
depth
integer | null
debug
boolean
default:false

Response

Successful Response

column
ColumnNode · object
required
downstream
ColumnNode · object[]
required
edges
LineageEdge · object[]
required
upstream
ColumnNode · object[]
required
queries
CypherQueryInfo · object[]