Search lineage assets
POST /gov_lineage/v2/search_lineage_assets
Search and filter lineage assets
Request
Request Body
LineageSearchAssetRequest
Search and filter lineage assets
query
string
The text that will be searched in the database
filters
array
The filters that the assets must match to be returned. Each filter must be matched.
order
LineageSearchOrder
Definition of the order of the returned results.
method
Required *
string
The property which is used to sort the results
direction
Required *
string
Direction of the order of the results
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
lineage
LineageLineageRequest
Represents options for calculating the lineage of assets. This class encapsulates the initial asset IDs from which lineage should be computed and a flag indicating whether the lineage graph can be loaded from a cache.
initial_asset_ids
Required *
array
Ids of assets from which the initial lineage was created. The query only returns assets that are part of the initial lineage, everything else is ignored. The initial lineage is defined as the set of assets that have upstream lineage to any of the initial asset or downstream lineage from it.
The flow might be represented by a direct edge from/to the initial asset (INITIAL -> TARGET) or by a set of assets and edges in some direction (INITIAL -> A -> B -> TARGET). If some of the edges have different direction than the others, they don't count as a flow (e.g. INITIAL -> A <- TARGET isn't a flow from INITIAL to TARGET).
allow_lineage_cache
boolean
If true, the lineage graph can be loaded from a cache. If false, the graph must be recalculated from the current data.
traversal_relation_types
array
Relation types to traverse when generating the lineage graph. When null or empty, the graph is traversed using the default built-in platform flow relations (backward-compatible behaviour). When non-empty, traversal is restricted exclusively to the listed relation types.
This field enables lineage generation across custom (user-defined) relations. To include the built-in platform flow relations alongside custom ones, add the reserved sentinel value "$default_flow" to the list.
hop_limit_from_starting_assets_incoming
integer
Maximum number of hops (relationship traversals) to perform in the incoming (upstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
hop_limit_from_starting_assets_outgoing
integer
Maximum number of hops (relationship traversals) to perform in the outgoing (downstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
lineage_version_datetimes
Required *
array
Datetime entries in ISO-8601 format specifying lineage versions in which the returned must be valid for their name to be returned. It needs to be a full date + time + timezone format. The attributes and source code(s) of the returned assets will match the requested version.
When more versions are specified, it returns union of the versions (e.g. assets belonging to at least one version). The same applies to the attributes and source code(s) of the assets. Empty array means the latest version.
Response
200 - Get successful
lineage_assets
array
The list of found lineage assets in the returned page
total_count
integer
Total number of items in the whole result
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Search lineage asset names
POST /gov_lineage/v2/search_lineage_asset_names
Search distinct names of lineage assets
Request
Request Body
LineageSearchAssetNamesRequest
Search distinct names of lineage assets
query
Required *
string
The text that will be searched in the database
filters
Required *
array
Only names of assets that match all of the filters will be returned.
limit
integer
The number of unique names that should be returned
lineage_version_datetimes
Required *
array
Datetime entries in ISO-8601 format specifying lineage versions in which the returned must be valid for their name to be returned. It needs to be a full date + time + timezone format. The attributes and source code(s) of the returned assets will match the requested version.
When more versions are specified, it returns union of the versions (e.g. assets belonging to at least one version). The same applies to the attributes and source code(s) of the assets. Empty array means the latest version.
Response
200 - Get successful
lineage_asset_names
array
Unique names of assets that were best matching the query
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Search for licensing sources
POST /gov_lineage/v2/search_licensing_sources
Search for licensing sources using a query or filtering options.
Request
Request Body
LineageDeleteLineageRequest
Search for licensing sources
deletion_mode
string
Switches between deleting everything and deleting just selected subgraphs. If everything is selected, no subgraphs must be specified. If subgraphs are selected, at least one subgraph must be specified.
subgraphs
array
Definitions of the subgraphs that should be deleted. Only the lineage information matching all filters is deleted. If subgraph mode is selected, at least one item must be present.
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
licensing_sources
array
Licensing sources
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Query assets in summary edges
POST /gov_lineage/v2/query_summary_edge_assets
Gets assets that are "hidden" by a summary edge. A summary edge between assets SOURCE and TARGET means that there is a lineage flow going from SOURCE to TARGET but it's not going directly between them but via several other assets in between. The assets between SOURCE and TARGET can be called "hidden". There might be several assets or even several different paths between the source and target, the summary edge contains all of them. This endpoint allows to filter the hidden assets. If more edges are specified, the endpoint returns assets that are hidden by at least one summary edge. The response doesn't contain sources and targets. The data flow lineage works with 3 main concepts: the full lineage graph, the limited graph ("initial lineage"), and view on the initial lineage. The initial lineage is a subset of graph that contains all assets accessible from the given starting nodes. This graph subset is too big to return and too big to navigate in. For this reason, the query response contains only a "view" which is a subset of the initial lineage. The view can always only contain one asset from the hierarchy (if column is present in the view, the table or schema it belongs to can't be part of the view. This endpoint only returns assets that are part of the specified view. Even the endpoint for getting summary edge needs to know which assets are currently known by the client (= are part of the view) to decide the hierarchy level of returned assets. There's an assumption that no asset "hidden" by any summary edge is part of the view and that all sources and targets of the edges are part of the view.
Request
Request Body
LineageQuerySummaryEdgeAssetsRequest
Query assets in summary edges
initial_asset_ids
Required *
array
Ids of assets from which the initial lineage was created. The query only returns assets that are part of the initial lineage, everything else is ignored. The initial lineage is defined as the set of assets that have upstream lineage to any of the initial asset or downstream lineage from it.
The flow might be represented by a direct edge from/to the initial asset (INITIAL -> TARGET) or by a set of assets and edges in some direction (INITIAL -> A -> B -> TARGET). If some of the edges have different direction than the others, they don't count as a flow (e.g. INITIAL -> A <- TARGET isn't a flow from INITIAL to TARGET).
allow_lineage_cache
boolean
If true, the lineage graph can be loaded from a cache. If false, the graph must be recalculated from the current data.
visible_asset_ids
Required *
array
Ids of assets that are currently visible to the client. The client is supposed to hold a set of assets called "view" which contains the assets which the client already knows. When calculating assets and edges to return, it's necessary to decide on which hierarchy level should the edge point be (column, table, schema, etc.). If some asset is already part of the view, it will be always used as the vertex of the edge.
summary_edges
array
Summary edges whose assets should be returned
filters
array
Asset filters, an asset must match all filters to be returned
filter_query
string
Search query for the asset name. The asset name must contain this query as a substring (case-insensitive)
offset
Required *
integer
The number of the first item in the requested page, starting from 0
limit
Required *
integer
Number of items being returned, must be 1 or higher
traversal_relation_types
array
Relation types to traverse when generating the lineage graph. When null or empty, the graph is traversed using the default built-in platform flow relations (backward-compatible behaviour). When non-empty, traversal is restricted exclusively to the listed relation types.
This field enables lineage generation across custom (user-defined) relations. To include the built-in platform flow relations alongside custom ones, add the reserved sentinel value "$default_flow" to the list.
hop_limit_from_starting_assets_incoming
integer
Maximum number of hops (relationship traversals) to perform in the incoming (upstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
hop_limit_from_starting_assets_outgoing
integer
Maximum number of hops (relationship traversals) to perform in the outgoing (downstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
lineage_version_datetimes
Required *
array
Datetime entries in ISO-8601 format specifying lineage versions in which the graph must be valid.
It needs to be a full date + time + timezone format. The attributes and source code(s) of the returned assets will match the requested
version.
When more versions are specified, it returns union of the versions (e.g. assets belonging to at least one version). The same applies to
the attributes and source code(s) of the assets. Empty array means the latest version.
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
summary_edge_assets
array
The list of lineage assets in the page
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Query relative assets
POST /gov_lineage/v2/query_relative_assets
Requests assets that are accessible upstream or downstream from the given set of starting assets. The returned assets might be accessible directly using one edge or transitively through several assets. The endpoint only returns assets that are part of the specified view (see below). The data flow lineage works with 3 main concepts: the full lineage graph, the limited graph ("initial lineage"), and view on the initial lineage. The initial lineage is a subset of graph that contains all assets accessible from the given starting nodes. This graph subset is too big to return and too big to navigate in. For this reason, the query response contains only a "view" which is a subset of the initial lineage. The view can always only contain one asset from the hierarchy (if column is present in the view, the table or schema it belongs to can't be part of the view. This endpoint only returns assets that are part of the specified view. The response always includes the starting assets themselves. If more starting assets are specified, the response contains all assets that are accessible by at least one starting asset.
Request
Request Body
LineageRelativeAssetsRequest
Query relative assets.
initial_asset_ids
Required *
array
Ids of assets from which the initial lineage was created. The query only returns assets that are part of the initial lineage, everything else is ignored. The initial lineage is defined as the set of assets that have upstream lineage to any of the initial asset or downstream lineage from it.
The flow might be represented by a direct edge from/to the initial asset (INITIAL -> TARGET) or by a set of assets and edges in some direction (INITIAL -> A -> B -> TARGET). If some of the edges have different direction than the others, they don't count as a flow (e.g. INITIAL -> A <- TARGET isn't a flow from INITIAL to TARGET).
allow_lineage_cache
boolean
If true, the lineage graph can be loaded from a cache. If false, the graph must be recalculated from the current data.
visible_asset_ids
Required *
array
Ids of assets that are currently visible to the client. The client is supposed to hold a set of assets called "view" which contains the assets which the client already knows. When calculating assets and edges to return, it's necessary to decide on which hierarchy level should the edge point be (column, table, schema, etc.). If some asset is already part of the view, it will be always used as the vertex of the edge.
starting_asset_ids
Required *
array
The starting assets of the returned lineage. Only assets with upstream or downstream flow from/to
them will be returned. The starting assets should be returned. If more starting assets are
specified, the response contains all assets that are accessible by at least one starting asset.
direction
Required *
string
Direction of the requested flow relative to the starting assets. For assets A → START → B, A is
considered incoming for START and B is considered outgoing.
traversal_relation_types
array
Relation types to traverse when generating the lineage graph. When null or empty, the graph is traversed using the default built-in platform flow relations (backward-compatible behaviour). When non-empty, traversal is restricted exclusively to the listed relation types.
This field enables lineage generation across custom (user-defined) relations. To include the built-in platform flow relations alongside custom ones, add the reserved sentinel value "$default_flow" to the list.
hop_limit_from_starting_assets_incoming
integer
Maximum number of hops (relationship traversals) to perform in the incoming (upstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
hop_limit_from_starting_assets_outgoing
integer
Maximum number of hops (relationship traversals) to perform in the outgoing (downstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
Response
200 - Get successful
relative_assets
array
Ids of the assets that are accessible from the starting assets.
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Query lineage graph
POST /gov_lineage/v2/query_lineage
Queries the data flow and returns a subset of the lineage graph. The data flow lineage works with 3 main concepts: the full lineage graph, the limited graph ("initial lineage"), and view on the initial lineage. The initial lineage is a subset of graph that contains all assets accessible from the given starting nodes. This graph subset is too big to return and too big to navigate in. For this reason, the query response contains only a "view" which is a subset of the initial lineage. The view can always only contain one asset from the hierarchy (if column is present in the view, the table or schema it belongs to can't be part of the view. The already known view should be specified in the request, so that summary edges can be calculated correctly and the direct edges will point to the right assets when it's possible to choose several in the hierarchy. The request contains the definition of a known view (e.g. the previous view the client already has) and a optional modifier which enhances the view. The response contains a view that is created by applying the modifier to the specified view. If no modifier is passed, the requested view is responded.
Request
Request Body
LineageQueryLineage
Queries the data flow and returns a subset of the lineage graph.
initial_asset_ids
Required *
array
Ids of assets from which the initial lineage was created. The query only returns assets that are part of the initial lineage, everything else is ignored. The initial lineage is defined as the set of assets that have upstream lineage to any of the initial asset or downstream lineage from it.
The flow might be represented by a direct edge from/to the initial asset (INITIAL -> TARGET) or by a set of assets and edges in some direction (INITIAL -> A -> B -> TARGET). If some of the edges have different direction than the others, they don't count as a flow (e.g. INITIAL -> A <- TARGET isn't a flow from INITIAL to TARGET).
allow_lineage_cache
boolean
If true, the lineage graph can be loaded from a cache. If false, the graph must be recalculated from the current data.
visible_asset_ids
Required *
array
Ids of assets that are currently visible to the client. The client is supposed to hold a set of assets called "view" which contains the assets which the client already knows. When calculating assets and edges to return, it's necessary to decide on which hierarchy level should the edge point be (column, table, schema, etc.). If some asset is already part of the view, it will be always used as the vertex of the edge.
visible_edges
array
Edges that are currently visible to the client.
expansion
LineageExpansionModifier
Definition of expansion - exploration the lineage N steps in some direction.
starting_asset_ids
Required *
array
Starting assets of the expansion operation. The response will contain the view combined from the previously visible asset ids merged together with the result of the expand operation.
incoming_steps
integer
Number of steps which the expand algorithm should go in the incoming (upstream) direction.
outgoing_steps
integer
Number of steps which the expand algorithm should go in the outgoing (downstream) direction.
asset_filters
array
Filters that can be applied to the expand operation. Assets that don't match the filter will be skipped. It means that if there is lineage flow A -> B -> C and asset B is ignored, then A -(summary)-> C will be returned. This summary edge is counted as one step.
avoided_edges
array
Edges that should be ignored when expanding. The source asset of the edge should be one of the expansion starting assets.
Given the graph START -> A -> B -> TARGET, expansion from START (1 step) would return the asset A. However, if the edge START -> TARGET is avoided, then the asset A won't be returned because it's part of the summary edge.
expansion_type
string
Defines the graph expansion layout. Available options:
- step_limited: a type in which the graph is expanded starting from the initial_asset_ids, in both upstream and downstream directions,
by the number of steps specified using the incoming_steps and outgoing_steps parameters
- sources_and_targets: a type in which, for the selected initial_asset_ids, related assets that are their ultimate sources and ultimate
targets are expanded.
- only_sources: a type in which, for the selected initial_asset_ids, related assets that are their ultimate sources(upstream) are
expanded.
- only_targets: a type in which, for the selected initial_asset_ids, related assets that are their ultimate targets(downstream) are
expanded.
added_asset_ids
array
Ids of the assets that should be added to the returned view. The asset shouldn't be an ancestor or descendant of any currently visible node (or any other added node).
hidden_asset_ids
array
Ids of the assets that should be hidden from the returned view even if they are currently visible.
drill_down_asset_id
string
Id of the asset that should be "drilled down" in the returned view. This means that the original asset won't be present in the returned view and it will be replaced by all its children.
Deprecated, replaced with drill_down_asset_ids
drill_down_asset_ids
array
Ids of the assets that should be "drilled down" in the returned view. This means that the original asset won't be present in the returned view and it will be replaced by all its children.
If not specified, null, or empty, the drill down modifier won't be applied.
collapsed_asset_id
string
Id of the asset that should be collapsed in the returned view. This means that the specified asset will be present in the returned view and all its descendants will be hidden. "Descendant" assets mean children of the asset, children of children, etc.
If not specified, null, or empty, the collapse modifier won't be applied.
traversal_relation_types
array
Relation types to traverse when generating the lineage graph. When null or empty, the graph is traversed using the default built-in platform flow relations (backward-compatible behaviour). When non-empty, traversal is restricted exclusively to the listed relation types.
This field enables lineage generation across custom (user-defined) relations. To include the built-in platform flow relations alongside custom ones, add the reserved sentinel value "$default_flow" to the list.
hop_limit_from_starting_assets_incoming
integer
Maximum number of hops (relationship traversals) to perform in the incoming (upstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
hop_limit_from_starting_assets_outgoing
integer
Maximum number of hops (relationship traversals) to perform in the outgoing (downstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
lineage_version_datetimes
Required *
array
Datetime entries in ISO-8601 format specifying lineage versions in which the graph must be valid.
It needs to be a full date + time + timezone format. The attributes and source code(s) of the returned assets will match the requested
version.
When more versions are specified, it returns union of the versions (e.g. assets belonging to at least one version). Empty array means the
latest version.
Response
200 - Get successful
assets_in_view
array
Full definition of assets that are part of the requested view.
edges_in_view
array
Edges that are part of the requested view.
graph_calculation_timestamp
integer
DEPRECATED, DO NOT USE! Replacement: graph_calculation_datetime
The property may be removed in the future after agreement with the lineage UI and test automation team.
The timestamp when the returned graph has been calculated [ms].
Min/max values designate that the timestamp must be in milliseconds, they don't correspond to any significant real datetime. The maximum value is the maximum integer parseable by Javascript (represents a moment in the year 2255).
graph_calculation_datetime
string
The date and time (ISO-8601) when the returned graph has been calculated.
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
POST /gov_lineage/v2/delete_lineage
Creates a long running operation that deletes the lineage data (the operation starts immediately after creating it). It deletes all lineage information for the requested part of the lineage graph: lineage assets, relationship between them, technologies, and versions they are in.
Temporary stub implementation for validityInterval filtering. The request is accepted, but interval-based deletion is not yet applied.
The deletion scope may optionally be restricted by a validityInterval. If provided, only lineage versions whose mergedTimestamp falls within the specified datetime range are affected.
Version filtering semantics:
- 'since' is the inclusive lower bound (>= since).
- 'until' is the inclusive upper bound (<= until).
- If validityInterval is null, no time-based filtering is applied.
- If one of the boundaries is null, the interval is treated as open-ended on that side.
- If a date-only value is provided, it is interpreted as a full-day range.
Node deletion semantics:
- If a node has at least one version outside the specified interval, the node itself is not deleted.
- Only mergedTimestamp (and related version properties) within the specified interval are removed.
- Technologies and versions are deleted only if no remaining lineage assets reference them after the operation.
If an asset, relationship, attribute, or other versioned object are valid in more versions, the deletion may only affect them partially. For instance, if an asset was scanned and discovered in versions [1, 2] and 2 is deleted, then the asset will appear like it was only scanned in version 1. Deletion of a version can even result in reappearance of some objects. For instance, if an asset was discovered in scan 1 and then not discovered in scan 2, then it's hidden from the current (non-historical) lineage because it's considered to be removed from the source system. Deleting the version 2 will make it appear again.
Request
Request Body
LineageDeleteLineageRequest
Delete lineage
deletion_mode
string
Switches between deleting everything and deleting just selected subgraphs. If everything is selected, no subgraphs must be specified. If subgraphs are selected, at least one subgraph must be specified.
subgraphs
array
Definitions of the subgraphs that should be deleted. Only the lineage information matching all filters is deleted. If subgraph mode is selected, at least one item must be present.
Response
202 - Operation accepted
id
string
Identifier of the operation
status
string
Current status of the operation
start_time
string
The date and time (ISO-8601) when the operation started (it happens immediately after creating it)
finish_time
string
The date and time (ISO-8601) when the operation finished (either successfully completed or failed)
message
string
A message describing the cause of the error in case of a failure
triggered_by
LineageUserFragment
A user identified by their IAM id
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get a lineage asset
GET /gov_lineage/v2/lineage_assets/{id}
Get lineage asset details based on the ID of the requested asset.
Request
Path Parameters
id
Required *
string
Id of the requested asset
Query Parameters
lineage_version_datetimes
string
Comma-delimited datetime entries in ISO-8601 format specifying the requested version of the asset. The asset may have different attributes or source code in each version. The parameter needs to be a full date + time + timezone format.
Response
200 - Get successful
id
string
ID of the asset
name
string
Name of the asset
type
string
Type of the asset (as defined in the model)
identity_key
string
Identity key - a type of identifier of the asset (usable outside this API)
resource_key
string
Resource key - a type of identifier of the asset (usable outside this API)
hierarchical_path
array
All nodes in the hierarchy of the current asset. It starts with the topmost asset (DSD) and ends with the parent of the current asset.
children
LineageAssetChildSummary
Metadata describing the asset's children
is_favorite
boolean
True if the asset has been marked by the user as favorite
tags
array
IKC tags associated with the asset
technology
LineageTechnology
Type of system or a programming language that define the structure of lineage assets inside it
attributes
array
Attributes associated with the asset. There might be several attributes with the same key.
source_code_snippets
array
Source code snippets which were used to generate the asset. Usually, there's one or zero source codes assigned to an asset but there might be more (e.g. if two temporary tables of the same name are created by two different procedures).
business_terms
array
Business terms describing the asset
business_classifications
array
Business classifications associated with the asset
data_classes
array
Data classes to which the asset belongs
catalog_assignments
array
Assignments of the asset to catalogs. It contains catalogs to which the asset belongs and information about the asset which are relevant only in the context of the catalog.
project_assignments
array
Assignments of the asset to projects. It contains projects to which the asset belongs and information about the asset which are relevant only in the context of the project.
space_assignments
array
Assignments of the asset to spaces. It contains spaces to which the asset belongs and information about the asset which are relevant only in the context of the space.
is_deduced
boolean
True if the only source of the information about the asset was deduction. This means that no scan found a definition of the asset but some scan found a mention about the asset's existence and some of its properties (e.g. name). Such assets might lack important information and might be even wrongly placed in the hierarchy.
is_transforming
boolean
True if the asset has TRANSFORMATION_TAG attribute set to a single value TRANSFORMING. Multiple different attribute values are evaluated as false, even if one of the values matches and the other values don't match.
is_operational
boolean
True if the asset has asset type which belongs to the operational asset types.
is_temporary
boolean
True if the asset has TABLE_TYPE attribute with value GLOBAL_TEMPORARY_TABLE or VOLATILE_TABLE.
origin
string
Origin of the asset. Can be 'design' or 'runtime'.
data_source_definition_asset
LineageCamsAssetFragment
Simple representation of an asset in CAMS.
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Update lineage asset
PATCH /gov_lineage/v2/lineage_assets/{id}
Update lineage asset
Request
Request Body
Update lineage asset
Path Parameters
id
Required *
string
Id of the asset which will be updated
Query Parameters
lineage_version_datetimes
string
Comma-delimited datetime entries in ISO-8601 format specifying lineage versions in which the returned asset is valid. It needs to be a full date + time + timezone format.
Response
200 - Get successful
id
string
ID of the asset
name
string
Name of the asset
type
string
Type of the asset (as defined in the model)
identity_key
string
Identity key - a type of identifier of the asset (usable outside this API)
resource_key
string
Resource key - a type of identifier of the asset (usable outside this API)
hierarchical_path
array
All nodes in the hierarchy of the current asset. It starts with the topmost asset (DSD) and ends with the parent of the current asset.
children
LineageAssetChildSummary
Metadata describing the asset's children
is_favorite
boolean
True if the asset has been marked by the user as favorite
tags
array
IKC tags associated with the asset
technology
LineageTechnology
Type of system or a programming language that define the structure of lineage assets inside it
attributes
array
Attributes associated with the asset. There might be several attributes with the same key.
source_code_snippets
array
Source code snippets which were used to generate the asset. Usually, there's one or zero source codes assigned to an asset but there might be more (e.g. if two temporary tables of the same name are created by two different procedures).
business_terms
array
Business terms describing the asset
business_classifications
array
Business classifications associated with the asset
data_classes
array
Data classes to which the asset belongs
catalog_assignments
array
Assignments of the asset to catalogs. It contains catalogs to which the asset belongs and information about the asset which are relevant only in the context of the catalog.
project_assignments
array
Assignments of the asset to projects. It contains projects to which the asset belongs and information about the asset which are relevant only in the context of the project.
space_assignments
array
Assignments of the asset to spaces. It contains spaces to which the asset belongs and information about the asset which are relevant only in the context of the space.
is_deduced
boolean
True if the only source of the information about the asset was deduction. This means that no scan found a definition of the asset but some scan found a mention about the asset's existence and some of its properties (e.g. name). Such assets might lack important information and might be even wrongly placed in the hierarchy.
is_transforming
boolean
True if the asset has TRANSFORMATION_TAG attribute set to a single value TRANSFORMING. Multiple different attribute values are evaluated as false, even if one of the values matches and the other values don't match.
is_operational
boolean
True if the asset has asset type which belongs to the operational asset types.
is_temporary
boolean
True if the asset has TABLE_TYPE attribute with value GLOBAL_TEMPORARY_TABLE or VOLATILE_TABLE.
origin
string
Origin of the asset. Can be 'design' or 'runtime'.
data_source_definition_asset
LineageCamsAssetFragment
Simple representation of an asset in CAMS.
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List technologies
GET /gov_lineage/v2/technologies
Lists all technologies in the database
Request
Path Parameters
Query Parameters
name_filter
string
Optional filter query of the technology name - only the technologies with the name that contains all words inside the query will be returned. Words are delimited by space and are case-insensitive. If empty or not specified, all technologies are returned.
name_prefix
string
Optional prefix of the name that filters the results. Only the technologies with the name starting with the prefix (case-insensitive) will be returned. If empty or not specified, all technologies are returned.
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "name" or "-name".
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
technologies
array
The list of technologies in the page
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get technology
GET /gov_lineage/v2/technologies/{id}
Get technology details based on the ID of the requested technology.
Request
Path Parameters
id
Required *
string
Id of the requested technology
Query Parameters
Response
200 - Get successful
id
string
ID of the technology
name
string
Unique name of the technology
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List technology children
GET /gov_lineage/v2/technologies/{id}/children
List child assets of a technology. If an asset doesn't have a parent asset, it's considered to be a child of the technology
Request
Path Parameters
id
Required *
string
Id of the parent lineage asset
Query Parameters
name_filter
string
Optional filter query of the child asset name - only the assets with the name that contains all words inside the query will be returned. Words are delimited by space and are case-insensitive. If empty or not specified, all children are returned.
name_prefix
string
Optional prefix of the name that filters the results. Only the assets with the name starting with prefix (case-insensitive) will be returned. If empty or not specified, all children are returned.
lineage_initial_asset_ids
string
If specified, the response should only contain assets that are part of lineage defined by the specified asset ids. It means that only assets that are accessible (directly or transitively) from the specified asset ids will be returned. The ids are divided by commas, their order isn't taken into account.
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "name" or "-name".
allow_lineage_cache
boolean
If true, the lineage graph can be loaded from a cache. If false, the lineage graph must be recalculated from the current data. This parameter only makes sense when lineage_initial_asset_ids is specified.
lineage_traversal_relation_types
string
Comma-delimited traversal relation types used to build the lineage graph. When null or empty, the default built-in platform flow relations are used. Use the reserved value "$default_flow" alongside custom types to also include the built-in relations.
lineage_hop_limit_from_starting_assets_incoming
integer
Maximum number of hops in the incoming (upstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
lineage_hop_limit_from_starting_assets_outgoing
integer
Maximum number of hops in the outgoing (downstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
children
array
The list of child assets in the page
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get a source code by {id}
GET /gov_lineage/v2/source_codes/{id}
Get a source code by {id}
Request
Path Parameters
id
Required *
string
Source code id
Query Parameters
Response
200 - Get successful
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get a source code snippet by {id}
GET /gov_lineage/v2/source_code_snippets/{id}
Get a source code snippet by {id}
Request
Path Parameters
id
Required *
string
Source code snippet id
Query Parameters
Response
200 - Get successful
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get operation
GET /gov_lineage/v2/operations/{id}
Gets the current state of a long running operation
Request
Path Parameters
id
Required *
string
Id of the requested operation
Query Parameters
Response
200 - Get successful
id
string
Identifier of the operation
status
string
Current status of the operation
start_time
string
The date and time (ISO-8601) when the operation started (it happens immediately after creating it)
finish_time
string
The date and time (ISO-8601) when the operation finished (either successfully completed or failed)
message
string
A message describing the cause of the error in case of a failure
triggered_by
LineageUserFragment
A user identified by their IAM id
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List lineage versions
GET /gov_lineage/v2/lineage_versions
List lineage versions / scan executions.
Request
Path Parameters
Query Parameters
since
string
The start of the interval in which the data have to be fetched. It must be a valid ISO-8601 string. It should contain the timezone.
The start of the interval is also included in the response. This means, that if the request specifies e.g. a date without a time (e.g. 2025-06-01Z), then all results in that day should be also returned.
Other ISO-8601 formats are also supported, notably: single year ("2025Z"), month ("2025-03Z"), week date format ("2025-W13Z", a week starts with Monday and ends with Sunday), etc.
until
string
The end of the interval in which the data have to be fetched. It must be a valid ISO-8601 string. It should contain the timezone.
The end of the interval is also included in the response. This means, that if the request specifies e.g. a date without a time (e.g. 2025-06-01Z), then all results in that day should be also returned.
The 'inclusion' principle also applies to all other formats like just a year ("2025Z" includes "2025-12-31T11:59:59Z), month ("2025-03Z" includes "2025-03-31T11:59:59Z), minute ("2025-03-05T10:00" includes "2025-03-05T10:00:59:999Z"), etc.
Week date format is also supported (2025-W13Z). A week starts with Monday and ends with Sunday.
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "datetime" or "-datetime".
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
lineage_versions
array
The list of lineage version node details in the page
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List lineage assets
GET /gov_lineage/v2/lineage_assets
List lineage assets
Request
Path Parameters
Query Parameters
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "name" or "-name".
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
top_level
boolean
Should the response only contain assets that have no parent?
favorites
boolean
Should the response only contain favorite assets?
ids
string
Ids of the requested assets delimited by comma. Maximum: 100 items
excluded_asset_ids
string
Ids of the excluded assets delimited by comma. The excluded assets are not present in the response. All pages are recalculated so that there is no "gap" on the place of the missing element. The total count doesn't include the excluded assets. Maximum: 100 items
parent_ids
string
Ids of the parents of the requested assets delimited by comma. If not specified, all assets are returned without a regard to their parents.
Maximum: 100 items
return_total_count
boolean
Should the total number of assets be part of the response?
lineage_initial_asset_ids
string
If specified, the response should only contain assets that are part of lineage defined by the specified asset ids. It means that only assets that are accessible (directly or transitively) from the specified asset ids will be returned. The ids are divided by commas, their order isn't taken into account.
Maximum: 100 items
allow_lineage_cache
boolean
If true, the lineage graph can be loaded from a cache. If false, the lineage graph must be recalculated from the current data. This parameter only makes sense when lineage_initial_asset_ids is specified.
lineage_traversal_relation_types
string
Comma-delimited traversal relation types used to build the lineage graph. When null or empty, the default built-in platform flow relations are used. Use the reserved value "$default_flow" alongside custom types to also include the built-in relations.
lineage_hop_limit_from_starting_assets_incoming
integer
Maximum number of hops in the incoming (upstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
lineage_hop_limit_from_starting_assets_outgoing
integer
Maximum number of hops in the outgoing (downstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
lineage_version_datetimes
string
Comma-delimited datetime entries in ISO-8601 format specifying lineage versions in which the returned assets are valid. It needs to be a full date + time + timezone format.
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
lineage_assets
array
The list of lineage assets in the page
total_count
integer
Total number of items in the whole result (if requested)
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List lineage asset children
GET /gov_lineage/v2/lineage_assets/{id}/children
List lineage asset children based on the ID of the parent asset.
Request
Path Parameters
id
Required *
string
Id of the parent lineage asset
Query Parameters
name_filter
string
Optional filter query of the asset name - only the assets with the name that contains all words inside the query will be returned. Words are delimited by space and are case-insensitive. If empty or not specified, all children are returned.
name_prefix
string
Optional prefix of the name that filters the results. Only the assets with the name starting with prefix (case-insensitive) will be returned. If empty or not specified, all children are returned.
lineage_initial_asset_ids
string
If specified, the response should only contain assets that are part of lineage defined by the specified asset ids. It means that only assets that are accessible (directly or transitively) from the specified asset ids will be returned. The ids are divided by commas, their order isn't taken into account.
Maximum: 100 items
lineage_version_datetimes
string
Comma-delimited datetime entries in ISO-8601 format specifying lineage versions in which the returned assets are valid. It needs to be a full date + time + timezone format.
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "name" or "-name".
allow_lineage_cache
boolean
If true, the lineage graph can be loaded from a cache. If false, the lineage graph must be recalculated from the current data. This parameter only makes sense when lineage_initial_asset_ids is specified.
lineage_traversal_relation_types
string
Comma-delimited traversal relation types used to build the lineage graph. When null or empty, the default built-in platform flow relations are used. Use the reserved value "$default_flow" alongside custom types to also include the built-in relations.
lineage_hop_limit_from_starting_assets_incoming
integer
Maximum number of hops in the incoming (upstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
lineage_hop_limit_from_starting_assets_outgoing
integer
Maximum number of hops in the outgoing (downstream) direction when generating the lineage graph. If null, the server-side configured maximum is used.
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
excluded_asset_ids
string
Ids of the excluded assets delimited by comma. The excluded assets are not present in the response. All pages are recalculated so that there is no "gap" on the place of the missing element. The total count doesn't include the excluded assets. Maximum: 100 items
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
children
array
The list of child assets in the page
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List lineage asset types
GET /gov_lineage/v2/lineage_asset_types
Lists distinct types of existing lineage assets
Request
Path Parameters
Query Parameters
prefix
string
Optional prefix of the asset type that filters the results. Only the asset types starting with the prefix (case-insensitive) will be returned. If empty or not specified, all types are returned.
type_filter
string
Optional filter query of the asset type - only the asset types that contains all words inside the query will be returned. Words are delimited by space and are case-insensitive. If empty or not specified, all asset types are returned.
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "asset_type" or "-asset_type".
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
lineage_asset_types
array
The list of lineage asset types in the page
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List licensing technologies
GET /gov_lineage/v2/licensing_technologies
List licensing technologies
Request
Path Parameters
Query Parameters
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "lineage_assets_count" or "-lineage_assets_count".
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
usage.lineage_assets_count
string
Filter for lineage asset count. Only the technologies having the specified number of assets are returned. The filter allows specifying a direct integer value or a value prefixed by "gt:" (greater than), "gte:" (greater than or equal), "lt:" (less than), and "lte:" (less than or equal).
The filter value must be greater than or equal to 0. The maximum allowed value is the maximum long value.
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
licensing_technologies
array
Licensing technologies
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get a licensing technology
GET /gov_lineage/v2/licensing_technologies/{licensing_technology_id}
Get a licensing technology by its id.
Request
Path Parameters
licensing_technology_id
Required *
string
Licensing technology id
Query Parameters
Response
200 - Get successful
id
string
Licensing technology id
technology_name
string
Technology name
usage
LineageLicensingCounts
Licensing count
Contains counts of objects to licensing.
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get a licensing summary
GET /gov_lineage/v2/licensing_summary
Get a licensing summary
Request
Response
200 - Get successful
usage
LineageLicensingCounts
Licensing count
Contains counts of objects to licensing.
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
List licensing sources
GET /gov_lineage/v2/licensing_sources
List licensing sources
Request
Path Parameters
Query Parameters
order
string
Definition of order of the returned values (minus as a prefix means descending order). Use "lineage_assets_count" or "-lineage_assets_count".
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
Response
200 - Get successful
offset
integer
The number of the first item in the page, starting from 0
limit
integer
Number of items being returned, must be 1 or higher
total_count
integer
Total number of items in the whole result
first
LineageHyperlink
Link to the next page (if it exists)
last
LineageHyperlink
Link to the next page (if it exists)
previous
LineageHyperlink
Link to the next page (if it exists)
next
LineageHyperlink
Link to the next page (if it exists)
licensing_sources
array
Licensing sources
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Get a licensing source
GET /gov_lineage/v2/licensing_sources/{licensing_source_id}
Get a licensing source by its id
Request
Path Parameters
licensing_source_id
Required *
string
Licensing source id
Query Parameters
Response
200 - Get successful
id
string
Licensing source id
data_source_definition_asset_id
string
Data source definition asset id
data_source_definition_asset_name
string
Data source definition asset name
technology_name
string
Technology name
usage
LineageLicensingCounts
Licensing count
Contains counts of objects to licensing.
status
string
Status
last_updated_timestamp
integer
Last updated timestamp [ms]
Min/max values designate that the timestamp must be in milliseconds, they don't correspond to any significant real datetime.
last_updated_datetime
string
The date and time (ISO-8601) of the last update to the licensing source. It can be any form of update, e.g. a scan that adds new assets or closes the removed ones or complete removal of the whole licensing source.
400 - The request includes parameters or values that are incorrect or unexpected
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. The user must have a proper role assigned to access this resource
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Entity not found
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
POST /gov_lineage/v2/lineage_events/openlineage
Submits an OpenLineage event, and potentially queues it for processing (based on the event type). Only OpenLineage Run events are supported at the moment. All events with the same `runId` are processed together at the time when the `COMPLETE` event is received. Before that, other events (`START`, `RUNNING`, etc.) are only stored. Events are retained for 30 days and are deleted automatically after expiration.
Behavior by event type
- `COMPLETE` - Stores event and submits all currently retained events with the same `runId` for lineage processing. Events are processed as soon as processing capacity is available.
- Other (e.g., `START`, `RUNNING`) - Event is only stored, and is not forwarded for immediate lineage processing.
Notes
- A successful response indicates only that the event was stored. It does not guarantee lineage generation.
- At least one output dataset must appear in the run's OpenLineage events for lineage to be produced. If no lineage appears, check your IBM Knowledge Catalog plan and the run's event payloads.
Request
Request Body
ScannerRunEvent
The OpenLineage lineage event matching the OpenLineage format specification.
eventTime
Required *
string
The time the event occurred at.
producer
Required *
string
The URI identifying the producer of this metadata.
schemaURL
string
The JSON Pointer URL to the corresponding version of the schema definition for this RunEvent.
eventType
string
An object representing an event type.
run
Required *
ScannerRun
An object representing a run.
runId
Required *
string
The globally unique identifier of the run.
facets
object
The list of facets giving a more detailed information about the run.
job
Required *
ScannerJob
An object representing a job.
namespace
Required *
string
The namespace containing the job.
name
Required *
string
The unique name for the job within the namespace.
facets
object
The list of facets giving a more detailed information about the run.
inputs
array
The set of input datasets associated with the run event.
outputs
array
The set of output datasets associated with the run event.
Response
201 - Success. The OpenLineage lineage event was created.
400 - Bad request. One of the fields has invalid format/content.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized. No/Malformed authentication provided.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. User is not allowed to perform the target operation.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
POST /gov_lineage/v2/lineage_events/openlineage/batch
Submits the OpenLineage events, and potentially queues them for processing (based on the event type). Only OpenLineage Run events are supported at the moment. All events with the same `runId` are processed together at the time when the `COMPLETE` event is received. Before that, other events (`START`, `RUNNING`, etc.) are only stored. Events are retained for 30 days and are deleted automatically after expiration.
Behavior by event type
- `COMPLETE` - Stores event and submits all currently retained events with the same `runId` for lineage processing. Events are processed as soon as processing capacity is available.
- Other (e.g., `START`, `RUNNING`) - Event is only stored, and is not forwarded for immediate lineage processing.
Notes
- A successful response indicates only that the events were stored. It does not guarantee lineage generation.
- At least one output dataset must appear in the run's OpenLineage events for lineage to be produced. If no lineage appears, check your IBM Knowledge Catalog plan and the run's event payloads.
Request
Request Body
The list of OpenLineage lineage events matching the OpenLineage format specification.
Response
200 - Success. The OpenLineage lineage events were created.
status
string
An object representing a status of a batch of events.
summary
ScannerEventBatchResponseSummary
An object representing a summary of a batch of events.
failed_events
array
The failed events of the batch.
400 - Bad request. One of the fields has invalid format/content.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized. No/Malformed authentication provided.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. User is not allowed to perform the target operation.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Retrieve the COS bucket credentials
GET /gov_lineage/v2/cos_bucket_credentials
Retrieves credentials for accessing Cloud Object Storage bucket. Credentials are global for the tenant, all scans use this single bucket to store extracted data and load them during analysis. Objects in the bucket are managed by the Scanner Service and user should not modify them.
Request
Response
200 - Success. Returned information of the COS bucket credentials.
endpoint_url
string
Endpoint where bucket was created, can be seen on bucket configuration page.
bucket_name
string
The name of the bucket.
resource_instance_id
string
Unique identifier for the instance of Object Storage the credential accesses.
400 - Bad request. One of the fields has invalid format/content.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized. No/Malformed authentication provided.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. User is not allowed to perform the target operation.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Not found. Item with the provided identifier is not available.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Create COS bucket credentials
POST /gov_lineage/v2/cos_bucket_credentials
Creates new credentials for accessing Object Storage bucket. The bucket must be already existing and the passed credentials needs permissions to create, get and delete objects in the bucket. Credentials are global for the tenant, all scans use this single bucket to store extracted data and load them during analysis. Objects in the bucket are managed by the Scanner Service and user should not modify them.
Request
Request Body
ScannerBucketCredentials
All credentials necessary to access a COS bucket.
endpoint_url
string
Endpoint where bucket was created, can be seen on bucket configuration page.
bucket_name
Required *
string
The name of the bucket.
api_key
string
API key assigned to a service credentials configured to connect to the bucket.
resource_instance_id
string
Unique identifier for the instance of Object Storage the credential accesses.
Response
201 - Success. Returned information of the created credentials.
endpoint_url
string
Endpoint where bucket was created, can be seen on bucket configuration page.
bucket_name
string
The name of the bucket.
api_key
string
API key assigned to a service credentials configured to connect to the bucket.
resource_instance_id
string
Unique identifier for the instance of Object Storage the credential accesses.
400 - Bad request. One of the fields has invalid format/content.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized. No/Malformed authentication provided.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. User is not allowed to perform the target operation.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
Delete the data source definition
DELETE /gov_lineage/v2/data_source_definitions/{id}/scanners/{scanner}
Deletes all metadata for the data source definition with the specified identifier for the specified scanner. This does not delete the data source definition itself, rather just its metadata collected by Scanner Service during scans of such a data source using the specified scanner. All running scans of the specified scanner for the specified data source definition will be terminated.
Request
Path Parameters
id
Required *
string
The data source definition asset identifier.
scanner
Required *
string
The name of the scanner.
Query Parameters
Response
204 - Success. The metadata for the data source definition were deleted.
400 - Bad request. One of the fields has invalid format/content.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
401 - Unauthorized. No/Malformed authentication provided.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
403 - Forbidden. User is not allowed to perform the target operation.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response
404 - Not found. Item with the provided identifier is not available.
trace
string
Id assigned to this response (can be matched with logs)
errors
array
Individual issues that caused the erroneous server response