Skip to main content

Exposure

The exposure object allows you to query information about a particular exposure. You can learn more about exposures here.

Arguments

When querying for an exposure, 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 exposure object.

Example Queries

Exposure information

The example query below queries information about an exposure, including the owner's name and email, the url, and information about parent sources and parent models.

{
exposure(jobId: 123, name: "my_awesome_exposure") {
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 an exposure, the following fields are available:

Fetching data...

0