> For the complete documentation index, see [llms.txt](https://upsolver.gitbook.io/content/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://upsolver.gitbook.io/content/reference-1/monitoring/job-status/stream-and-file-sources/lineage.md).

# Lineage

The **Lineage** tab provides an insight into your data's journey, visually displaying where datasets and jobs interact, enabling you to drill into each entity, and see how pipelines and datasets relate and connect.

## Viewing data lineage

The lineage diagram for your job shows the related datasets for the current job, which is always highlighted in the diagram to show its position within the pipeline architecture:&#x20;

<figure><img src="/files/4flRrYPjlfu9amsoJZBg" alt=""><figcaption><p>The Lineage diagram displays the visual of the data processed by the job. </p></figcaption></figure>

### Adjust the view

You can use your mouse scroller to zoom in and out on the diagram to change the display size, or use the zoom control in the bottom left-hand corner of the screen to set the view. Click **fit view** to fill the screen with the diagram. If you need to move the image, use your mouse to grab and relocate the diagram on the screen.&#x20;

### Data source

Click on the **data source icon** to display a pop-up with the name of the topic or bucket location where the data is sourced, along with the connection used by the job to copy the data.&#x20;

### Job

Click the highlighted **job icon** to display information including the full name of the job, and whether it is a [sync or non-sync job](/content/articles-1/get-started/understanding-sync-and-non-sync-jobs.md). From here, click **Info** to display the **SQL** syntax that created the job, and optionally click **Copy** to paste the code into a worksheet:

<figure><img src="/files/lgJWPMuzXoLVwujXZXKX" alt=""><figcaption><p>View the job creation syntax, and the settings for job options and configurations.</p></figcaption></figure>

### Data target

The target includes additional information to provide a top-level view of the schema. Click the **dataset icon** to open the pop-up and view the table and schema names, and the connection used by the job to write the data.&#x20;

<figure><img src="/files/3g419jCOU24BtXN48ZGA" alt=""><figcaption><p>Click on Info to display the schema or Entity Page to open the target in Datasets.</p></figcaption></figure>

#### Schema

Click **Info** to open the modal, which provides an overview into your data:

<figure><img src="/files/QBWVhuN0gf0VaXvXBJSV" alt=""><figcaption><p>Click <strong>Info</strong> on the dataset icon to view the underlying schema and metadata.</p></figcaption></figure>

From this modal, click **Entity Page** to navigate to [Datasets](/content/reference-1/monitoring/datasets.md) and view more detailed information about the data. Alternatively, click on the  **Entity Page** link in the pop-up to open the entity in [Datasets](/content/reference-1/monitoring/datasets.md).

#### SQL

The SQL tab in the modal displays the syntax used to create the table, along with job options and configuration settings. Optionally, click **Copy** to paste the code into a worksheet.&#x20;

***

## Extended lineage

As well as viewing the immediate data sources that are processed by the job, you can click **Display Extended Lineage** to view where the job exists in relation to other entities in your ecosystem.&#x20;

Click the checkbox to extend the lineage diagram:

<figure><img src="/files/8T1k18zxYmcotjyRZhoV" alt=""><figcaption><p>View where the job sits in relation to other pipelines within your organization.</p></figcaption></figure>

In this example, the diagram extends to show that the current job - which is always highlighted - shares its data source with another job that writes to different location. Viewing a job in relation to other entities enables us to plan for changes that may have wider impact within our organization.&#x20;

As with the previous view, you can click on all related entities in the extended diagram to expose further information and drill into the details.&#x20;


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation dynamically by asking a question.

Perform an HTTP GET request on the current page URL with the `ask` query parameter, and the optional `goal` query parameter:

```
GET https://upsolver.gitbook.io/content/reference-1/monitoring/job-status/stream-and-file-sources/lineage.md?ask=<question>&goal=<endgoal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is optional and describes the broader end goal you are ultimately trying to accomplish on behalf of the user. GitBook uses it to tailor the answer towards what is most useful for that goal.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
