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
- 201
- 403
- 404
- 422
Successful Response
error is feature_not_offered: dbt is not included for this account. A write is also refused to a member whose role may not change dbt projects.
Not found
Validation Error