Manifest JSON file
| Loading table... |
Produced by: Any dbt command that parses the project. This includes all commands, except deps, clean, debug, and init.
After executing a dbt command, the manifest.json file can be found in the project's target/ directory:
- If developing locally: Open the
target/directory in your project folder - In the Studio IDE: Open the
target/directory in the file tree - In dbt platform jobs: Download the
manifest.jsonfrom the artifacts tab for a given job run
This file contains a full representation of your dbt project's resources (models, tests, macros, and more), including all node configurations and resource properties. Even if you're only running some models or tests, all resources will appear in the manifest (unless they are disabled) with most of their properties. Some properties, such as compiled_sql, are included only for executed nodes.
Today, dbt uses this file to populate the docs site, and to perform state comparison. Members of the community also use it to analyze project health, such as checking for missing descriptions or tests.
Top-level keys
metadatanodes: Dictionary of all analyses, models, seeds, snapshots, and tests.sources: Dictionary of sourcesmetrics: Dictionary of metricsexposures: Dictionary of exposuresgroups: Dictionary of groups (Note: Added in v1.5)macros: Dictionary of macrosdocs: Dictionary ofdocsblocksparent_map: Dictionary that contains the first-order parents of each resourcechild_map: Dictionary that contains the first-order children of each resourcegroup_map: Dictionary that maps group names to their resource nodesselectors: Expanded dictionary representation of YAMLselectorsdisabled: Array of resources withenabled: false
Resource details
All resources nested within nodes, sources, metrics, exposures, macros, and docs have the following base properties:
name: Resource nameunique_id:<resource_type>.<package>.<resource_name>, same as dictionary keypackage_name: Name of package that defines this resourceroot_path: Absolute file path of this resource's package. (Note: This was removed for most node types in dbt Core v1.4 / manifest v8 to reduce duplicative information across nodes, but it is still present for seeds.)path: Relative file path of this resource's definition within its "resource path" (model-paths,seed-paths, and more).original_file_path: Relative file path of this resource's definition, including its resource path.
Each has several additional properties related to its resource type.
dbt JSON schema
You can refer to the dbt JSON schema for information on describing and consuming dbt-generated artifacts.
Note: The manifest.json version number is related to (but not equal to) your dbt version, so you must use the correct manifest.json version for your dbt version. To find the correct manifest.json version, select the dbt version on the top navigation (such as v1.5).
Refer to the table at the beginning of this page to understand how the manifest version matches the dbt version.
Was this page helpful?
This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.