Import dbt lineage
import_dbt_lineageMap dbt lineage into a new Wavelength flow, with no AI call. Reads the applied state of a dbt deployment environment through the dbt Discovery API (or, with job_id, the manifest of a job's latest successful run). Sources and seeds become data nodes, models become steps with their owner (meta.owner), exposures (dashboards) become systems with their owner, and depends_on links become data edges. Pass select (model or exposure names, or dbt unique_ids) to map their upstream lineage; add downstream true to also include what depends on them. Without select it maps the whole project if it has 250 nodes or fewer. With no environment_id and no job_id it uses the first deployment environment. Set list_only true to get the project's models and exposures first.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| title | No | Optional flow title. | |
| job_id | No | Optional. dbt job id from list_dbt_jobs. Used when environment_id is not given. | |
| select | No | Optional. Model or exposure names (for example orders, Weekly revenue dashboard) or dbt unique_ids. Up to 50. | |
| team_id | No | Optional team id. | |
| direction | No | Optional layout direction. Default vertical. | |
| folder_id | No | Optional folder id. | |
| list_only | No | Optional. Return the models and exposures instead of creating a flow. | |
| downstream | No | Optional. Also include everything downstream of the selection. Default false. | |
| environment_id | No | dbt deployment environment id from list_dbt_jobs (recommended). |