---
title: "Post Upstream Assets V2"
method: POST
path: "/lineage/v2/upstream"
tags: ["Lineage"]
---

# Post Upstream Assets V2

`POST /lineage/v2/upstream`

Gets all upstream assets using v2 asset_lineage table
Supports tables, dashboards, and other asset types

## Request body

- FQNRequest
  - `fqn` string, required

## Response `200`

Successful Response

- ConnectedAssets — Response containing list of connected assets
  - `assets` union[], required
    - union
      - TableAsset — Table asset with table-specific fields
        - `asset_rk` string, required
        - `asset_type` string
        - `upstream_count` integer
        - `downstream_count` integer
        - `table` string, required
        - `id` integer, nullable
        - `materialization` string, nullable
        - `label` string, required
        - `schema_name` string, nullable
        - `resource_type` string, nullable
        - `tests` TestMetadata[], nullable
          - `name` string, required
      - DashboardAsset — Dashboard asset with dashboard-specific fields
        - `asset_rk` string, required
        - `asset_type` string
        - `upstream_count` integer
        - `downstream_count` integer
        - `dashboard_id` string, nullable
        - `dashboard_name` string, required
        - `dashboard_url` string, nullable
        - `workbook_name` string, nullable
        - `description` string, nullable
        - `created_by` string, nullable
        - `last_modified` string, nullable

## Other responses

- `400` — Bad request
- `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)
