capabilities.work

Cloud Get Run and Fetch Its Artifacts

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

Recipe · 2 steps

Cloud Get Run and Fetch Its Artifacts

with dbt

List artifacts for a run only when the run reports status 10 (success).

  1. Read the run resource. Status 10 means the run succeeded and produced artifacts; any other status means artifacts should not be fetched.
  2. List the artifacts produced by the successful run (manifest.json, catalog.json, run_results.json).
What you'll need to have ready
  • accountId: The dbt Cloud account id.
  • runId: The id of the run to inspect.
  • token: The dbt Cloud service token (sent as Authorization Bearer Token).
For your developer

Arazzo workflow dbt:run-and-fetch-artifacts, 2 operations: getRun → listRunArtifacts. Specs on APIs.io.