Skip to main content

Sync Model Sources

POST 

/v1/dbt/models/:model_id/sync-sources

Re-derive and persist depends_on_sources for an existing model.

Scans the model SQL for references to registered DBTSource table names and writes the matching 'source_name.table_name' refs to depends_on_sources. Use this to repair models created before the auto-population fix.

Request

Responses

Successful Response