Skip to main content

Tags object schema

Tags provide a mechanism to categorize and group resources within a dbt project, enabling selective execution and management of these resources. You can query tags through the Discovery API.

The Example query illustrates a few fields you can query with the tags object. Refer to Fields to view the entire schema, which provides all possible fields you can query.

Example query​

You can use the environmentId to return the name of all the tags in your environment:

query {
environment(id: 834) {
applied {
tags {
name
}
}
}
}

Fields​

When querying for tags, you can use the following fields:

Fetching data...

Was this page helpful?

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

0
Loading