# dbt GraphQL API Every time dbt Cloud runs a project, it generates and stores information about the project. The Discovery API exposes that metadata including details about models, sources, exposures, and execution results so teams can understand and govern their DAG. ## dbt Cloud Discovery API **Endpoint:** https://metadata.cloud.getdbt.com/graphql **Documentation:** https://docs.getdbt.com/docs/dbt-cloud-apis/discovery-api **References:** - Documentation: https://docs.getdbt.com/docs/dbt-cloud-apis/discovery-api ## dbt Cloud Semantic Layer API The dbt Semantic Layer lets teams define metrics in code with MetricFlow and query them consistently from BI tools, notebooks, and applications. The Semantic Layer API exposes metric and dimension queries via GraphQL, JDBC, and a Python SDK. **Endpoint:** https://semantic-layer.cloud.getdbt.com/api/graphql **Documentation:** https://docs.getdbt.com/docs/dbt-cloud-apis/sl-api-overview **References:** - Documentation: https://docs.getdbt.com/docs/dbt-cloud-apis/sl-api-overview