Source object schema
The source object allows you to query information about a particular source in a given job.
Arguments
When querying for a source
, the following arguments are available.
Field | Type | Required? | Description |
uniqueId | String! | Yes | No description provided |
Below we show some illustrative example queries and outline the schema of the source object.
Example query
The query below pulls relevant information about a given source. For instance, you can view the load time and the state (pass, fail, error) of that source.
{
job(id: 123) {
source(uniqueId: "source.jaffle_shop.snowplow.event") {
uniqueId
sourceName
name
state
maxLoadedAt
criteria {
warnAfter {
period
count
}
errorAfter {
period
count
}
}
maxLoadedAtTimeAgoInS
}
}
}
Fields
When querying for a source
, the following fields are available:
Fetching data...
0