get_lineage
Trace data lineage for an entity, showing upstream and downstream data flows. Understand how data moves through your Apache Atlas system.
Instructions
Get the data lineage graph for an entity.
Traces upstream (INPUT) and/or downstream (OUTPUT) data flow relationships. This is the most valuable tool for understanding how data moves through your system.
The response includes:
guidEntityMap: All entities in the lineage graph
relations: Directed edges showing data flow
Args: guid: The GUID of the entity to trace lineage for. direction: "INPUT" (upstream), "OUTPUT" (downstream), or "BOTH". depth: How many hops to traverse (default: 3, max: 10).
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| guid | Yes | ||
| direction | No | BOTH | |
| depth | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||