Lineage object schema
The lineage object allows you to query lineage across your resources.
The Example query illustrates a few fields you can query with the lineage
object. Refer to Fields to view the entire schema, which provides all possible fields you can query.
Arguments
When querying for lineage
, you can use the following arguments:
Fetching data...
Example query
You can specify the environmentId
and filter by "Model" as the resource type to see lineage information for all models in this environment, including their dependencies, materialization type, and metadata:
query {
environment(id: 834) {
applied {
lineage(
filter: {"types": ["Model"]} # Return results for the Model type
) {
name
resourceType
filePath
projectId
materializationType
parentIds
tags
uniqueId
}
}
}
}
Fields
When querying for lineage
, you can use the following fields:
Fetching data...
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.
0