---
title: "Get asset lineage"
method: GET
path: "/api/v1/lineage/assets/{id}"
tags: ["lineage"]
---

# Get asset lineage

`GET /api/v1/lineage/assets/{id}`

Get upstream and downstream lineage for a specific asset

## Path parameters

- `id` string, uuid, required

## Query parameters

- `limit` integer
- `direction` 'upstream' | 'downstream' | 'both'
- `exclude_types` string

## Response `200`

OK

- LineageResponse
  - `edges` LineageEdge[]
    - `id` string
    - `job_mrn` string
    - `last_seen_at` string
    - `observation_count` integer
    - `origin` string
    - `source` string
    - `target` string
    - `type` string
  - `nodes` LineageNode[]
    - `asset` Asset
      - `created_at` string
      - `created_by` string
      - `description` string
      - `environments` object
      - `external_links` AssetExternalLink[]
        - `icon` string
        - `name` string
        - `url` string
      - `has_run_history` boolean
      - `id` string
      - `is_stub` boolean
      - `last_sync_at` string
      - `metadata` object
      - `mrn` string
      - `name` string
      - `parent_mrn` string
      - `providers` string[]
      - `query` string
      - `query_language` string
      - `schema` object
      - `sources` AssetSource[]
        - `last_sync_at` string
        - `name` string
        - `priority` integer
        - `properties` object
      - `tags` string[]
      - `terms` string[] — Terms carries glossary term names a discovery assigned to this asset. It is input only: the links live in asset_terms, so reading an asset back from the database never fills this in.
      - `type` string
      - `updated_at` string
      - `user_description` string
    - `depth` integer
    - `id` string
    - `type` string

## Other responses

- `400` — Bad Request
- `404` — Not Found
- `500` — Internal Server Error

## Changes

> 56 revisions in range; 1 not diffed.

- **2026-08-24** `0bd802afff21` — 2 info
  - the endpoint scheme security `ApiKeyAuth` was added to the API
  - the endpoint scheme security `BearerAuth` was added to the API

[Change history](https://skmtc.dev/marmotdata/apis/marmot-api/changes/api/v1/lineage/assets/:id/get.md)

---

[API](https://skmtc.dev/marmotdata/apis/marmot-api.md) · [All operations](https://skmtc.dev/marmotdata/apis/marmot-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/marmotdata/marmot-api/revisions/0bd802afff21/schema)
