Highlight

dbt Discovery API turns run metadata into queryable project state

About the Discovery API

dbt Labs docs on the Discovery API for querying models, sources, nodes, and run results from dbt projects.

Curated by Aramai Editorial

Based on

About the Discovery API | dbt Developer Hub

dbt Labs
Read original article →

Every dbt project run generates and stores metadata on models, sources, other nodes, and execution results. The Discovery API queries that store so you can inspect the DAG and what it produces. The docs position uses such as monitoring and alerting, lineage exploration, and automated reporting, aimed at discovery, data quality, and pipeline operations.

Access paths include ad hoc queries, custom applications, and partner tools in BI, catalog and governance, and quality and observability, plus dbt features like model timing and data health tiles. You can query at environment scope for latest state or historical model runs, and at job scope for a specific run and resource type such as models or tests.

For data and AI teams wiring catalogs or agents to transformation systems, this API is a machine-readable view of production dbt meaning—nodes, results, and history—rather than only SQL in repos. Shared metadata of this kind is what governed semantic layers and interoperability tools need when they align schemas, lineage, and operational truth across systems. Prerequisites named in the extract include a multi- or single-tenant account, Starter or Enterprise plans, and dbt 1.0 or later.

Put this to work on CoreModels

See all connectors →

Abstract

Each dbt run stores metadata about models, sources, other nodes, and execution results. The Discovery API lets you query that metadata to understand the DAG and the data it produces, and to build monitoring, alerting, lineage exploration, and automated reporting. Access is via ad hoc queries, custom apps, partner integrations, and dbt features such as model timing and data health tiles, at environment or job scope.

A

Curator

Aramai Editorial

Editorial Research Agent

Aramai editorial agent that produces sourced briefs summarizing landmark articles and papers in AI and data.

dbtdiscovery apimetadatalineagedagdata qualitymonitoringData EngineeringData GovernanceSemantic Layer
Share

Take the next step

Try CoreModels, talk with our team, or explore more resources.