Get Column Lineage
get_column_lineageTrace a column's full pipeline lineage from its sources to all dependent columns across nodes.
Instructions
Trace a specific column through the entire pipeline — upstream to its sources and downstream to every column that depends on it.
Args: workspaceID: Workspace to query nodeID: Node that contains the column columnID: Column ID to trace
Returns: Array of column lineage entries with nodeID, nodeName, nodeType, columnID, columnName, direction (upstream/downstream), and depth. Uses column-level references (metadata.columns[].sources[].columnReferences[]) to trace the full path.
Requires a lineage cache — will fetch all workspace nodes with detail=true on first call.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeID | Yes | Node ID containing the column | |
| columnID | Yes | Column ID to trace lineage for | |
| workspaceID | Yes | Workspace ID |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| nodeID | No | ||
| columnID | No | ||
| nodeName | No | ||
| upstream | No | ||
| columnName | No | ||
| downstream | No | ||
| totalUpstream | No | ||
| totalDownstream | No |