public-api
public-lineage

Get Asset Lineage

Get lineage graph for an asset.

Returns upstream (dependencies) and downstream (dependents) assets.

SDK Usage:

from anomalyarmor import Client
client = Client()

lineage = client.lineage.get("postgresql.mydb.public.users", depth=2)
for upstream in lineage.upstream:
    print(f"Depends on: {upstream.qualified_name}")

CLI Usage:

armor lineage get postgresql.mydb.public.users --depth 2
get/api/v1/sdk/lineage/{asset_id}

Request

  • Base URL: http://localhost:8000
  • URL: http://localhost:8000/api/v1/sdk/lineage/{asset_id}
  • Auth: none declared

Path parameters

asset_idstring required

Query parameters

depthinteger

How many levels of lineage to fetch

directionstring

Direction: upstream, downstream, or both

Headers

Authorizationstring

Response

Successful Response

successboolean required
dataunknown
messagestring nullable
errorstring nullable
metaobject nullable

Changes

No recorded changes to this operation across all 1 revision of this API.