Zum Hauptinhalt springen

Run Project

POST 

/v1/dbt/projects/:project_id/run

Execute a dbt command for a project.

Accepts either a JSON body (DBTRunRequest) or the legacy ?command=&select= query string. The body takes precedence when both are supplied. With neither, a full run of every model.

Body fields (all optional): command (dbt subcommand, default "run"), select / exclude, fullRefresh, vars (raw dbt --vars) and lookbackDays (injects start_date = now - N days). 404 when the project does not exist in this account; 409 while another run of it is active. To run on a schedule, create a refresh with projectId (POST /v1/refreshes).

Request​

Responses​

Successful Response