dbt

dbt Metrics API

The Metrics API from dbt — 1 operation(s) for metrics.

Operations 1

POST /api/graphql Execute a Semantic Layer GraphQL query #

Work with this as data

Every API here is available over the APIs.io API and to AI agents over MCP.

MCP server

One button, every client — Claude, Cursor, VS Code and the rest.

https://apis.io/mcp

Tools for apis

7 MCP tools reach this
  • find_apisBrowse and filter every API in the catalog.
  • get_api_artifactsOne API's artifacts, grouped by type.
  • get_openapiThe primary OpenAPI for this API.
  • find_similar_apisAPIs that look like this one.
  • apis_io_searchSTART HERE — APIs, providers and tags for one query, each with its total.
  • resolveTurn a domain, URL or GitHub org into the provider it belongs to.
  • find_cohortsEvery scored population of providers in the catalog.
All 92 tools →

Call it yourself

curl for this page
This API
curl "https://apis.io/api/v1/apis/dbt-metrics-api"
All apis
curl "https://apis.io/api/v1/apis?limit=25"

Discovery needs no key. Ratings and market analysis are Pro.

Get an API key

Free tier, no form to fill in. Signing in shares your email address with us — we store it to create your key and to recognise you if you sign in with another provider. See our Privacy Policy and Terms.

A second provider on the same verified email joins the account you already have.

OpenAPI Specification

dbt-metrics-api-openapi.yml Raw ↑
openapi: 3.2.0
info:
  title: dbt Cloud Semantic Layer Metrics API
  description: The dbt Cloud Semantic Layer API enables querying of metrics and dimensions defined in MetricFlow. It is exposed via GraphQL, JDBC, and a Python SDK so downstream BI and data tools can pull governed metric values consistently.
  version: '1.0'
servers:
- url: https://semantic-layer.cloud.getdbt.com/api/graphql
  description: Semantic Layer GraphQL endpoint
security:
- bearerAuth: []
tags:
- name: Metrics
paths:
  /api/graphql:
    post:
      summary: Execute a Semantic Layer GraphQL query
      operationId: executeSemanticQuery
      tags:
      - Metrics
      requestBody:
        required: true
        content:
          application/json:
            schema:
              type: object
              required:
              - query
              properties:
                query:
                  type: string
                variables:
                  type: object
      responses:
        '200':
          description: GraphQL response containing metric or dimension data.
components:
  securitySchemes:
    bearerAuth:
      type: http
      scheme: bearer
      bearerFormat: Token