Job parameterization through DBT api

The problem I’m having

I’d like to be able to inject variable values into a dbt model when triggering a job through the api but looking a the documentation for api version 1.7, that does not seem possible.

The context of why I’m trying to do this

I’ve got a large number of instances of an AWS batch job that run concurrently and I’d like to trigger a dbt model parameterized with associated ids once the batch job finishes.

What I’ve already tried

I understand that this is possible when running a job through the command line using --vars. I’m pretty much trying to replicate that functionality through a dbt api call.

2 Likes