Trigger Job to Run
POST {{base_url}}/api/v2/accounts/{{account_id}}/jobs/{{job_id}}/run/
Note that cause
is the only required field in the request body. The other fields in the request example are optional.
Request Body
{"cause"=>"Kicked off from Airflow", "git_branch"=>"staging", "schema_override"=>"dbt_cloud_pr_123", "dbt_version_override"=>"1.0.1", "target_name_override"=>"staging", "timeout_seconds_override"=>3000, "generate_docs_override"=>true, "threads_override"=>8, "steps_override"=>["dbt seed", "dbt run --fail-fast", "dbt test --fail-fast"]}