Model By Environment
Beta feature
This feature is currently in beta and subject to change. If you want to provide feedback, please contact us.
This model by environment object allows you to query information about a particular model based on environmentId
.
The example query illustrates a few fields you can query in this modelByEnvironment
object. Refer to Fields to see the entire schema, which provides all possible fields you can query.
Arguments
When querying for modelByEnvironment
, you can use the following arguments.
Fetching data...
Example Query
You can use the environment_id
and model_unique_id
to return the model and its execution time for the last 10 times it was run, regardless of which job ran it!
{
modelByEnvironment(
environmentId: 1,
uniqueId:"model.jaffle_shop.dim_user",
lastRunCount:10,
withCatalog: false
){
uniqueId
jobId,
runId,
executionTime
}
}
Fields
When querying for modelByEnvironment
, you can use the following fields.
Fetching data...
0