capabilities.work

Cloud Run Completion to Semantic Layer Metrics

A 2-step recipe with dbt. We can help you get access.

Recipe · 2 steps

Cloud Run Completion to Semantic Layer Metrics

with dbt · Analytics & BI Management

After a successful run, query the Semantic Layer for its environment's metrics.

  1. Read the run and confirm it succeeded. Status 10 means the build completed and the Semantic Layer reflects the latest metric definitions.
  2. Query the Semantic Layer API for the metrics defined in the run's environment, binding the environmentId variable to the run's environment.
What you'll need to have ready
  • accountId: The dbt Cloud account id.
  • runId: The id of the run to confirm before querying metrics.
  • token: The dbt Cloud service token (sent as Authorization Bearer Token).
For your developer

Arazzo workflow dbt:run-to-semantic-metrics, 2 operations: getRun → executeSemanticQuery. Specs on APIs.io.