---
title: "List lineage of a report element"
method: GET
path: "/v2/reports/{reportId}/lineage/elements/{elementId}"
tags: ["Reports"]
---

# List lineage of a report element

`GET /v2/reports/{reportId}/lineage/elements/{elementId}`

## Request

- Base URL: `https://api.sigmacomputing.com`
- URL: `https://api.sigmacomputing.com/v2/reports/{reportId}/lineage/elements/{elementId}`
- Auth: HTTP bearer

This endpoint retrieves the lineage and dependencies of a specific report element. It provides a detailed view of how data is interconnected within a report, which can be critical for understanding data sources and dependencies.

  ### Usage notes
  - **reportId:** The UUID of the report containing the element. Retrieve the **reportId** by calling the [/v2/reports](https://help.sigmacomputing.com/reference/list-reports) endpoint.
  - **elementId:** The UUID of the element within the report whose lineage is being queried. Retrieve the **elementId** by first calling the [/v2/reports/{reportId}/pages](listreportpages) endpoint, then calling the [/v2/reports/{reportId}/pages/{pageId}/elements](listreportpageelements) endpoint.
  - The element that you request must be a data element, such as a table, pivot table, or visualization. Requesting a UI or control element returns an error.

  ### Usage scenarios
  - **Data governance:** Allows data managers to track how information is used and propagated through different report elements.
  - **Debugging and optimization:** Helps in identifying and resolving issues in data processing or in the structure of report setups.
  - **Data source management**: Identify the data sources in use in a specific report.

  ### Best practices
  - Use this endpoint to regularly audit report structures, ensuring that all data connections and transformations are correct and optimized.
  - Integrate this information into documentation or data dictionaries to enhance transparency and understanding across teams.

## Path parameters

- `reportId` string, required
- `elementId` string, required

## Response `200`

The response body.

- ReportsListReportElementLineageResponse200
  - `dependencies` object, required
  - `edges` V2ReportsReportIdLineageElementsElementIdGetResponsesContentApplicationJsonSchemaEdgesItems[], required
    - `source` string, required
    - `target` string, required
    - `type` 'lookup' | 'source' | 'dependency', required

---

[API](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api.md) - [All operations](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/llms.txt) - [OpenAPI document](https://skmtc.dev/sigmacomputing/apis/sigma-rest-api/revisions/fb6036208c49?raw)
