Skip to main content

Exposures

The exposures object allows you to query information about all exposures in a given job. You can learn more about exposures here.

Arguments

When querying for exposures, the following arguments are available. Note that if you do not include a runId, it will default to the most recent run of the specified job:

Fetching data...

Below we show some illustrative example queries and outline the schema of this exposures object.

Example Queries

Exposures information

The example query below queries information about all exposures in a given job, including, for each exposure, the owner's name and email, the url, and information about parent sources and parent models.

{
exposures(jobId: 123) {
runId
projectId
name
uniqueId
resourceType
ownerName
url
ownerEmail
parentsSources {
uniqueId
sourceName
name
state
maxLoadedAt
criteria {
warnAfter {
period
count
}
errorAfter {
period
count
}
}
maxLoadedAtTimeAgoInS
}
parentsModels {
uniqueId
}
}
}

Fields

When querying for exposures, the following fields are available:

Fetching data...