Skip to main content

Nova API — /api/lineage

The operations Nova tags public under /api/lineage. Generated from reference-src/nova-openapi.json.

GET /api/lineage​

Operation id lineage_graph: in Python client.call("lineage_graph", …), on the command line stardelt api lineage_graph.

The lineage graph around one table: the tables upstream and downstream within depth hops, the jobs that connect them, and what a change to the table would affect, from the lineage events of the last days days. 403 when the caller may not read the table.

Parameters

NameInTypeRequiredDescription
catalogquerystringNoCatalog
daysqueryintegerNoTime window in days, 1–365, default 30
depthqueryintegerNoDepth 1-5, default 2
schemaquerystringNoSchema
tablequerystringNoTable

Responses

CodeDescription
200Lineage graph
401Not signed in
403Not visible

GET /api/lineage/columns​

Operation id lineage_columns: in Python client.call("lineage_columns", …), on the command line stardelt api lineage_columns.

Column lineage for one table: for each output column, the source columns it was written from and when it was last written. A source in a catalog the caller cannot read is answered as { "hidden": true }, without names.

Parameters

NameInTypeRequiredDescription
catalogquerystringYesCatalog
daysqueryintegerNoDays to look back, 1-365, default 90
schemaquerystringYesSchema
tablequerystringYesTable

Responses

CodeDescription
200Where each column comes from
400catalog/schema/table required
401Not signed in
403Not visible

GET /api/lineage/read-tables​

Operation id lineage_read_tables: in Python client.call("lineage_read_tables", …), on the command line stardelt api lineage_read_tables.

The tables the caller read most in the last days days, at most limit, newest read first. 503 when Nova has no state store.

Parameters

NameInTypeRequiredDescription
daysqueryintegerNoTime window in days, 1–365, default 30
limitqueryintegerNoTables to answer, 1–20, default 5

Responses

CodeDescription
200The tables the caller read most, newest read first
401Not signed in
503No state store

GET /api/lineage/runs/{run_id}​

Operation id lineage_run_detail: in Python client.call("lineage_run_detail", …), on the command line stardelt api lineage_run_detail.

One run from the lineage record, by its run ID. 404 when there is no such run.

Parameters

NameInTypeRequiredDescription
run_idpathstringYesRun ID

Responses

CodeDescription
200Run detail
401Not signed in
404Not found