Skip to main content

Snapshots object schema

The snapshots object allows you to query information about all snapshots in a given job.

Arguments

When querying for snapshots, the following arguments are available.

Fetching data...

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

Example query

The database, schema, and identifier arguments are optional. This means that with this endpoint you can:

  • Find a specific snapshot by providing <database>.<schema>.<identifier>
  • Find all of the snapshots in a database and/or schema by providing <database> and/or <schema>

Find snapshots information for a job

The example query returns information about all snapshots in this job.

{
job(id: 123) {
snapshots {
uniqueId
name
executionTime
environmentId
executeStartedAt
executeCompletedAt
}
}
}

Fields

When querying for snapshots, the following fields are available:

Fetching data...

0