Import Snowflake lineage
import_snowflake_lineageMap data lineage in one Snowflake database into a new Wavelength flow, with no AI call. Read-only queries on ACCOUNT_USAGE: object dependencies (views on tables), access history writes (INSERT ... SELECT, CTAS, MERGE; Enterprise edition), and stage or Snowpipe loads. Tables and stages become data nodes, views and dynamic tables become steps, edges are labeled references, writes, COPY INTO, or the Snowpipe name. Pass schema to keep only that schema and its direct neighbors (limit 250 nodes). Returns the flow link and which lineage sources returned rows.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| days | No | Optional history window in days for writes and loads, 1 to 90. Default 30. | |
| title | No | Optional flow title. | |
| schema | No | Optional schema name to narrow the flow. | |
| team_id | No | Optional team id. | |
| database | Yes | Database name from list_snowflake_databases. | |
| direction | No | Optional layout direction. Default vertical. | |
| folder_id | No | Optional folder id. |