Cloud Job Run History and Latest Artifacts
A 3-step recipe with dbt. We can help you get access.
Recipe · 3 steps
Cloud Job Run History and Latest Artifacts
with dbt
Find the latest run, read it, and fetch its artifacts if it succeeded.
- List runs for the account; the first entry is the most recent run.
- Read the most recent run for full detail. Status 10 means it succeeded.
- List the artifacts produced by the latest successful run.
What you'll need to have ready
- accountId: The dbt Cloud account id.
- token: The dbt Cloud service token (sent as Authorization Bearer Token).
For your developer
Arazzo workflow dbt:job-run-history, 3 operations: listRuns → getRun → listRunArtifacts. Specs on APIs.io.