---
title: "Get Column Level Lineage"
method: POST
path: "/dbt/v1/lineage"
tags: ["DBT"]
deprecated: true
---

# Get Column Level Lineage

`POST /dbt/v1/lineage`

> **Deprecated.**

Generates lineage analysis for a dbt_model

## Headers

- `x-tenant` string, required

## Request body

- DBTColumnLineageRequest
  - `target_column` string, nullable
  - `target_model` string, nullable
  - `model_dialect` string, required
  - `model_info` ModelInfo[], required
    - `model_node` ModelNode, required
      - `database` string, nullable
      - `schema_name` string, nullable
      - `package_name` string, nullable
      - `name` string, nullable
      - `alias` string, required
      - `uniqueId` string, required
      - `columns` object, required
    - `compiled_sql` string, nullable
    - `raw_sql` string, nullable
  - `model_schemas` Schemas
    - `model_name` object, required
  - `downstream_models` string[], nullable

## Response `200`

Successful Response

- object[]

## Other responses

- `400` — Not supported for public user
- `403` — Not supported for public user
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
