Data lineage is the process of tracking the flow of data over time, showing where it originated, how it was transformed and where it is used. It lets a team answer one question quickly: where did this number, report or agent input come from?
This page is for data engineers, architects and governance leads who need a clear definition and a practical starting point. It covers why lineage matters, how the OpenLineage model works, how lineage differs from provenance and what to do first.
IBM's data lineage overview says "Data lineage is the process of tracking the flow of data over time", showing where data came from, how it changed and where it ends up. Lineage tools rely on metadata and record source information and the transformations applied during ETL or ELT processes.
For a fuller walk-through, see our guide to data lineage explained.
IBM lists four main uses. Impact analysis shows how a change, such as a renamed data element, affects downstream reports and users, and traces errors back to their source. Compliance work uses lineage to support audits and adherence to regulations such as GDPR and CCPA. Data migration planning needs to know where data lives and how it has moved. Data modelling uses lineage to map relationships and dependencies across the data ecosystem.
OpenLineage describes itself as "an open framework for data lineage collection and analysis" and defines "a generic model of dataset, job, and run entities uniquely identified using consistent naming strategies". The OpenLineage object model explains each entity.
| Entity | What it is (per OpenLineage) | Example |
|---|---|---|
| Dataset | "An abstract representation of data", identified by a namespace and name | A database table or a cloud storage object |
| Job | "A process that consumes or produces Datasets" | An orchestrator task, a query or a model |
| Run | "An instance of a Job that represents one of its occurrences in time" | Today's execution of a daily job |
| Facet | Extensible metadata attached to a dataset, job or run | Schema details on a dataset |
Lineage is emitted as events. A run event is sent at runtime, usually when a job starts or finishes. Job and dataset events describe design-time metadata that is not tied to a run. A backend builds the lineage graph from these events.
IBM says data provenance "specifically refers to the first instance of that data or its source", while lineage covers the full journey. A data catalog, by contrast, is an inventory of data assets.
| Term | Main question | Scope |
|---|---|---|
| Data provenance | Where did this data originate? | The source and first instance |
| Data lineage | How did it get here and what changed? | Source, each transformation and each destination |
| Data catalog | What data do we have and what does it mean? | An inventory of data assets, see metadata management for agentic AI |
An AI agent that acts on data should be able to show where its inputs came from and which transformations produced them. Lineage turns an agent decision into something an auditor can trace back to source. When choosing tooling, compare options in our review of data lineage tools. For the governed context agents rely on, see ElixirData, XenonStack's Context OS.
To map one decision your agents make, and the data lineage and policy it depends on, book a Context Workshop. See what happens in the workshop.
Data lineage tracks the flow of data over time, showing where it came from, how it changed and where it ends up.
IBM says provenance refers to the first instance of the data or its source, while lineage covers the full journey of the data.
OpenLineage describes itself as an open framework for data lineage collection and analysis, with a model of dataset, job and run entities.
Lineage supports audits and risk management by showing how data moved and changed, which helps teams demonstrate adherence to rules such as GDPR and CCPA.
It lets teams trace an agent's inputs back to their source and the transformations applied, so a decision can be reviewed and explained.