Skip to main content

Test object schema

The test object allows you to query information about a particular test.

Arguments​

When querying for a test, the following arguments are available.

Fetching data...

Below we show some illustrative example queries and outline the schema (all possible fields you can query) of the test object.

Example query​

The example query below outputs information about a test including the state of the test result. In order of severity, the result can be one of these: "error", "fail", "warn", or "pass".

{
job(id: 123) {
test(uniqueId: "test.internal_analytics.not_null_metrics_id") {
runId
accountId
projectId
uniqueId
name
columnName
state
}
}
}

Fields​

When querying for a test, the following fields are available:

Fetching data...

Was this page helpful?

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.

0
Loading