Get asset lineage

GET /v2/asset_lineages/{asset_id}

Returns lineage of the asset identified by asset_id. The lineage includes a list of events associated with the asset. A different list of events are returned based on the value of lineage_type query parameter.

  • lineage_type = default | partial - The event generating the asset, the events happening on the asset and the events using the asset to generate other assets.
  • lineage_type = forward - The event generating the asset and the events using the asset directly or indirectly to generate other assets.
  • lineage_type = forward_hop - The event generating the asset and the events using the asset directly or indirectly to generate other assets. The number of events returned is controlled by hop_count and event_count parameters.
  • lineage_type = backward - All the direct and indirect events responsible for generating the asset.

<br/>Deprecated, functionality will be replaced by a new one in future releases.

Request

Path Parameters

asset_id

Required *

string

Asset ID

Query Parameters

limit

integer

The maximum number of events returned. The default value is 50.

offset

integer

The index of the first matching event to be included in the result. The default value is 0.

lineage_type

string

The type of lineage to be returned. The default value is partial

event_classification_type

string

The type of event classification. By default, the events are not classfied.

catalog_id

string

If the asset is a catalog-asset, specify the ID of the catalog. If the seed asset ID is supplied, then the value supplied should be the catalog ID of the seed asset.

project_id

string

If the asset is a project-asset, specify the ID of the project. If the seed asset ID is supplied, then the value supplied should be the project ID of the seed asset.

space_id

string

If the asset is a space-asset, specify the ID of the space. If the seed asset ID is supplied, then the value supplied should be the project ID of the seed asset.

wml_instance_id

string

If the asset is a model, specify the ID of the associated WML service instance. If the seed asset ID is supplied, then the value supplied should be the WML service instance ID of the seed asset.

asset_type

Required *

string

The type of the asset. The value can be one of dataset, model. If the seed asset ID is supplied, then the value supplied should be the type of the seed asset.

event_time

string

The time after which the events have to be fetched. The format should be yyyy-MM-dd'T'HH:mm:ss.SSSX. The default value is 1970-01-01T00:00:00.000Z.

hop_count

integer

Used to control the number of events returned when lineage_type is forward_hop. The events returned will belong to a maximum of N other assets directly or indirectly generated using the asset where N is equal to hop_count. The default value is 4.

event_count

integer

Used to control the number of events returned when lineage_type is forward_hop. The maxiumum number of events of each other asset generated directly or indirectly using the asset. The default value is 10.

seed_asset_id

string

The seed asset ID. The request will not be authorized if the lineage of the asset is not part of the lineage of the seed asset.

Response

200 - OK

limit

integer

offset

integer

first

AssetLineagePaginatedResponseLink

next

AssetLineagePaginatedResponseLink

previous

AssetLineagePaginatedResponseLink

resources

array

count

integer

paginationValues

object

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

Get asset lineage summary

GET /v2/asset_lineages/{asset_id}/summary

Returns lineage summary of the asset identified by asset_id.<br/>Deprecated, functionality will be removed in the future release.

Request

Path Parameters

asset_id

Required *

string

Asset ID

Query Parameters

catalog_id

string

If the asset is a catalog-asset, specify the ID of the catalog.

project_id

string

If the asset is a project-asset, specify the ID of the project.

space_id

string

If the asset is a space-asset, specify the ID of the space.

wml_instance_id

string

If the asset is a model, specify the ID of the associated WML service instance.

asset_type

Required *

string

The type of the asset. The value can be one of dataset, model.

Response

200 - OK

metadata

AssetLineageLineageSummaryMetadata

The metadata of the lineage summary.

entity

AssetLineageLineageSummaryEntity

The lineage summary entity.

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

Returns the event identified by event_id.

GET /v2/lineage_events/{event_id}

Get lineage event<br/>Deprecated, functionality will be removed in the future release.

Request

Path Parameters

event_id

Required *

string

Event ID

Query Parameters

Response

200 - OK

metadata

AssetLineageEventMetadata

entity

AssetLineageEventEntity

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

Publishes lineage event.

POST /v2/lineage_events

Publish lineage event<br/>Deprecated, functionality will be removed in the future release.

Request

Request Body

AssetLineageMessageV1

messageVersion

string

serviceInstanceId

string

serviceInstanceName

string

userId

string

accountId

string

eventDetails

AssetLineageEventDetails

eventId

string

eventType

string

eventCategory

array

eventTime

string

eventSourceService

string

properties

object

generatesAssets

array

usesAssets

array

Response

202 - Accepted

metadata

AssetLineageEventMetadata

entity

AssetLineageEventEntity

204 - No Content

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

Get summary statistics of activities on a project/catalog/space asset

GET /v2/asset_statistics/{asset_id}/statistics

Returns summary statistics of the asset identified by asset_id and request type.<br/>Deprecated, functionality will be removed in the future release.

Request

Path Parameters

asset_id

Required *

string

Asset ID

Query Parameters

catalog_id

string

If the asset is a catalog-asset, specify the ID of the catalog.

project_id

string

If the asset is a project-asset, specify the ID of the project.

space_id

string

If the asset is a space-asset, specify the ID of the space

request_type

Required *

string

The type of the request. The value can be one of edits, downloads, publish_to_catalog or clone_to_project.

Response

200 - OK

count

integer

Gives the statistics i.e number of requests (edits, downloads, etc

request

string

Identifies type of Request - edits, downloads, publish_to_catalog, clone_to_project, promote_to_space

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

Field Match type Example dataset_id Equals ?dataset_id=5210c7d-cf6b ">

List data profiles

GET /v2/data_profiles

Status: Complete

Get the list of data profiles in the specified project or catalog for a given dataAsset, provided the caller has the necessary rights to do so. The returned results can be filtered by using one or more of the listed parameters.

Field Match type Example
dataset_id Equals ?dataset_id=5210c7d-cf6b

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

include_entity

boolean

Whether to include the entity component. If set to false, only the metadata component is populated in the response.

lite_mode

boolean

Include minimum payload for profiling results. If set to true, only minimum required details for DPS are available in the response.

column

string

Return the analysis results for specified column. This option will be ignored for data profile run using data flow.

Response

200 - Success.

resources

array

Collection of data profiles

401 - You are not permitted to perform this action.

403 - You are not authorized to list the available data profiles.

404 - Not Found.

500 - An error occurred. The data profiles cannot be listed.

trace

string

errors

array

AMQP 1.0 Messages

When a new data profile is created, a message is fired with a state of the new data profile in the body.

Topic

v2.data_profiles.:guid.POST ,where the ":guid" represents the profile_id of the created Data Profile

Subscribe to it by using "v2.data_profiles.*.POST" Binding Key.

Example Message

Topic: v2.data_profiles.5210c7d-cf6b-4204-95d2-95d84ecbe382.POST

Message:

{
 &quot;event&quot;: &quot;CREATE_DATA_PROFILE&quot;,
 &quot;actor&quot;: {          
   &quot;user_name&quot;: &quot;john@acme.com&quot;          
 },
 &quot;published&quot;: &quot;2015-05-10T15:04:15Z&quot;,
 &quot;url&quot;: { /* The href of the DataProfile created */}
 &quot;status_code&quot;: { /* The Http Status code , 201 if the DataProfile is created successfully */}
 &quot;state&quot;: { /* the data profile object equivalent to the one obtained by GET /v2/data_profiles/{profile_id} API */ }
 &quot;details&quot;: {
    &quot;catalog_id&quot;: &quot;f3c59258-abdd-4e24-828b-0495ec519339&quot;,
    &quot;dataset_id&quot;: &quot;e522db21-59e8-44ab-81b2-bb40c3030a6f&quot;,
    &quot;profile_id&quot;: &quot;5165d439-96f0-40d4-90b2-93795deab61b&quot;,
    &quot;is_governed&quot;: false { /* set to true if the catalog is_governed else set it to false}
   }
}

">

Create data profile

POST /v2/data_profiles

Status: Complete

Creates a data profile for a given data set in the specified project or catalog, provided the caller has the necessary rights to do so. Subsequent calls to use the data profile must specify the relevant project or catalog ID that the data profile was created in.

The request payload must include the 'metadata' section containing the data set id and catalog/project id.

The request payload can have the 'entity' section which is optional specifying the data profile options. If these options are not specified, default options are taken. To create several data profiles at once in the specified project or catalog, specify an array of data set in the attribute dataset_ids instead of a single data set in the attribute dataset_id. In this case, the data profiles are created in a single job that can be found in the execution section of the returned data profile entity.

AMQP 1.0 Messages

When a new data profile is created, a message is fired with a state of the new data profile in the body.

Topic

v2.data_profiles.:guid.POST ,where the ":guid" represents the profile_id of the created Data Profile

Subscribe to it by using "v2.data_profiles.*.POST" Binding Key.

Example Message

Topic: v2.data_profiles.5210c7d-cf6b-4204-95d2-95d84ecbe382.POST

Message:

{
 &quot;event&quot;: &quot;CREATE_DATA_PROFILE&quot;,
 &quot;actor&quot;: {          
   &quot;user_name&quot;: &quot;john@acme.com&quot;          
 },
 &quot;published&quot;: &quot;2015-05-10T15:04:15Z&quot;,
 &quot;url&quot;: { /* The href of the DataProfile created */}
 &quot;status_code&quot;: { /* The Http Status code , 201 if the DataProfile is created successfully */}
 &quot;state&quot;: { /* the data profile object equivalent to the one obtained by GET /v2/data_profiles/{profile_id} API */ }
 &quot;details&quot;: {
    &quot;catalog_id&quot;: &quot;f3c59258-abdd-4e24-828b-0495ec519339&quot;,
    &quot;dataset_id&quot;: &quot;e522db21-59e8-44ab-81b2-bb40c3030a6f&quot;,
    &quot;profile_id&quot;: &quot;5165d439-96f0-40d4-90b2-93795deab61b&quot;,
    &quot;is_governed&quot;: false { /* set to true if the catalog is_governed else set it to false}
   }
}

Request

Request Body

DataProfilingDataProfile

The data profile to create.

metadata

Required *

DataProfilingDataProfileMetadataInfo

Profiling specific metadata

guid

string

The ID of the profile.

asset_id

string

The ID of the profile asset (response only)

dataset_id

Required *

string

The ID of the dataset

dataset_ids

array

The IDs of the datasets to use during bulk processing

correlation_id

string

The ID to be used for tracking end to end flow.

url

string

The Location URL where DataProfile is created.

project_id

string

The ID of the project to use. Either catalog_id or project_id is required.

catalog_id

Required *

string

The ID of the catalog to use. Either catalog_id or project_id is required.

created_at

string

The timestamp when the data profile was created (in format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as specified by RFC 3339) (response only)

accessed_at

string

The timestamp when the data profile was accessed (in format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as specified by RFC 3339) (response only)

owner

string

The user ID that created the data profile.

last_updater

string

The user ID that updated the data profile.

owner_id

string

The IAM ID of the user that created the data profile.

last_updater_id

string

The IAM id of the user that updated the data profile.

metadata_outstanding

DataProfilingDataProfileMetadataInfo

Profiling specific metadata

guid

string

The ID of the profile.

asset_id

string

The ID of the profile asset (response only)

dataset_id

Required *

string

The ID of the dataset

dataset_ids

array

The IDs of the datasets to use during bulk processing

correlation_id

string

The ID to be used for tracking end to end flow.

url

string

The Location URL where DataProfile is created.

project_id

string

The ID of the project to use. Either catalog_id or project_id is required.

catalog_id

Required *

string

The ID of the catalog to use. Either catalog_id or project_id is required.

created_at

string

The timestamp when the data profile was created (in format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as specified by RFC 3339) (response only)

accessed_at

string

The timestamp when the data profile was accessed (in format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as specified by RFC 3339) (response only)

owner

string

The user ID that created the data profile.

last_updater

string

The user ID that updated the data profile.

owner_id

string

The IAM ID of the user that created the data profile.

last_updater_id

string

The IAM id of the user that updated the data profile.

record_info

DataProfilingDataProfileRecordInfo

Information about the number of records

number_of_records

integer

The total number of records in the data asset

computed

boolean

Is this computed by profiling service

entity

object

The underlying asset entity.

data_profile

Required *

object

The data profile definition.

data_profile_outstanding

object

The data profile definition.

columns

array

attachment_id

string

href

string

The location url where the data profile is created.

Path Parameters

Query Parameters

start

boolean

Whether to start the profiling service immediately after the data profile is created.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Charge term assignment

boolean

Whether to charge the bulk profiling to include term assignment charges.

Response

201 - Success.

202 - Accepted.

401 - You are not authorized to create a data profile.

403 - You are not permitted to perform this action.

404 - The data profile cannot be found.

500 - An error occurred. The data profile cannot be created.

Get data profile

GET /v2/data_profiles/{profile_id}

Status: Complete

Gets a data profile from a project or catalog, provided the call has the required right to do so.

Request

Path Parameters

profile_id

Required *

string

The profile ID to use.

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

lite_mode

boolean

Include minimum payload for profiling results. If set to true, only minimum required details for DPS are available in the response.

Response

200 - Success.

metadata

DataProfilingDataProfileMetadataInfo

Profiling specific metadata

metadata_outstanding

DataProfilingDataProfileMetadataInfo

Profiling specific metadata

record_info

DataProfilingDataProfileRecordInfo

Information about the number of records

entity

object

The underlying asset entity.

href

string

The location url where the data profile is created.

401 - You are not authorized to get the data profile you specified.

403 - You are not permitted to perform this action.

404 - The data profile you specified cannot be found.

trace

string

errors

array

500 - An error occurred. The data profile you specified cannot be fetched.

trace

string

errors

array

Delete data profile

DELETE /v2/data_profiles/{profile_id}

Status: Complete

Deletes a specified data profile in a project or catalog, provided the caller has the necessary rights to do so.

The data profile is not deleted if the profiling process is still running unless the stop_in_progress_runs parameter is set to true.

Request

Path Parameters

profile_id

Required *

string

The profile ID to use.

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

stop_in_progress_profiling_runs

boolean

Whether to stop all running profiling processes. Data profiles that are running must be stopped before they can be deleted.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Response

204 - Success.

401 - You are not authorized to delete data profiles.

403 - You are not permitted to perform this action.

404 - Data profile not found.

415 - Data source not supported for profiling.

500 - An error occurred. The data profile cannot be deleted.

AMQP 1.0 Messages

When a data profile is modified, a message is fired with a state of the modified data profile in the body.

Topic

v2.data_profiles.:guid.PATCH

Subscribe to it by using "v2.data_profiles.*.PATCH" Binding Key.

Example Message

Topic: v2.data_profiles.5210c7d-cf6b-4204-95d2-95d84ecbe382.PATCH

Message:

{
 &quot;event&quot;: &quot;UPDATE_DATA_PROFILE&quot;,
 &quot;actor&quot;: {          
   &quot;user_name&quot;: &quot;john@acme.com&quot;,           
 },
 &quot;published&quot;: &quot;2015-05-10T15:04:15Z&quot;,
 &quot;url&quot;: { /* The href of the DataProfile created */}
 &quot;status_code&quot;: { /* The Http Status code , 200 if the DataProfile is updated successfully */}
 &quot;state&quot;: { /* the data profile object equivalent to the one obtained by GET /v2/data_profiles/{profile_id} API */ }
 &quot;details&quot;: {
    &quot;catalog_id&quot;: &quot;f3c59258-abdd-4e24-828b-0495ec519339&quot;,
    &quot;dataset_id&quot;: &quot;e522db21-59e8-44ab-81b2-bb40c3030a6f&quot;,
    &quot;profile_id&quot;: &quot;5165d439-96f0-40d4-90b2-93795deab61b&quot;,
    &quot;is_governed&quot;: false { /* set to true if the catalog is_governed else set it to false}
    }
}

">

Update data profile

PATCH /v2/data_profiles/{profile_id}

Status: Complete

Updates a data profile in the project or catalog specified in the data profile, provided the caller has the necessary rights to do so.

During update, the entire data profile is replaced, apart from any read-only or response-only attributes.

If the profiling processes is running and the start parameter is set to true, then a data profile is only updated if the stop_in_progress_runs parameter is set to true.

The updates must be specified by using the JSON patch format, described in RFC 6902.

AMQP 1.0 Messages

When a data profile is modified, a message is fired with a state of the modified data profile in the body.

Topic

v2.data_profiles.:guid.PATCH

Subscribe to it by using "v2.data_profiles.*.PATCH" Binding Key.

Example Message

Topic: v2.data_profiles.5210c7d-cf6b-4204-95d2-95d84ecbe382.PATCH

Message:

{
 &quot;event&quot;: &quot;UPDATE_DATA_PROFILE&quot;,
 &quot;actor&quot;: {          
   &quot;user_name&quot;: &quot;john@acme.com&quot;,           
 },
 &quot;published&quot;: &quot;2015-05-10T15:04:15Z&quot;,
 &quot;url&quot;: { /* The href of the DataProfile created */}
 &quot;status_code&quot;: { /* The Http Status code , 200 if the DataProfile is updated successfully */}
 &quot;state&quot;: { /* the data profile object equivalent to the one obtained by GET /v2/data_profiles/{profile_id} API */ }
 &quot;details&quot;: {
    &quot;catalog_id&quot;: &quot;f3c59258-abdd-4e24-828b-0495ec519339&quot;,
    &quot;dataset_id&quot;: &quot;e522db21-59e8-44ab-81b2-bb40c3030a6f&quot;,
    &quot;profile_id&quot;: &quot;5165d439-96f0-40d4-90b2-93795deab61b&quot;,
    &quot;is_governed&quot;: false { /* set to true if the catalog is_governed else set it to false}
    }
}

Request

Request Body

The updates to make in the data profile.

Path Parameters

profile_id

Required *

string

The profile ID to use.

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

stop_in_progress_profiling_runs

boolean

Whether to stop all running profiling processes. Data profiles that are running must be stopped before they can be deleted.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

start

boolean

Whether to start the profiling service immediately after the data profile is updated.

Response

200 - Success.

401 - You are not authorized to update the data profile you specified.

403 - You are not permitted to perform this action.

404 - The data profile you specified cannot be found.

500 - An error occurred. The data profile you specified cannot be updated.

AMQP 1.0 Messages

When a data profile is modified, a message is fired with a state of the modified data profile in the body.

Topic

v2.data_profiles.:guid.PATCH

Subscribe to it by using "v2.data_profiles.*.PATCH" Binding Key.

Example Message

Topic: v2.data_profiles.5210c7d-cf6b-4204-95d2-95d84ecbe382.PATCH Message:

{
 &quot;event&quot;: &quot;UPDATE_DATA_PROFILE&quot;,
 &quot;actor&quot;: {          
   &quot;user_name&quot;: &quot;john@acme.com&quot;,           
 },
 &quot;published&quot;: &quot;2015-05-10T15:04:15Z&quot;,
 &quot;url&quot;: { /* The href of the DataProfile created */}
 &quot;status_code&quot;: { /* The Http Status code , 200 if the DataProfile is updated successfully */}
 &quot;state&quot;: { /* the data profile object equivalent to the one obtained by GET /v2/data_profiles/{profile_id} API */ }
 &quot;details&quot;: {
    &quot;catalog_id&quot;: &quot;f3c59258-abdd-4e24-828b-0495ec519339&quot;,
    &quot;dataset_id&quot;: &quot;e522db21-59e8-44ab-81b2-bb40c3030a6f&quot;,
    &quot;profile_id&quot;: &quot;5165d439-96f0-40d4-90b2-93795deab61b&quot;,
    &quot;is_governed&quot;: false { /* set to true if the catalog is_governed else set it to false}
    }
}

">

Update data profiles

POST /v2/data_profiles/bulk

Status: Complete

Updates data profiles in the project or catalog for one or more assets, provided the caller has the necessary rights to do so.

During update, the entire data profiles are replaced, apart from any read-only or response-only attributes.

If any profiling process is running and the start parameter is set to true, then a data profile is only updated if the stop_in_progress_runs parameter is set to true.

The updates must be specified by using the JSON patch format, described in RFC 6902.

AMQP 1.0 Messages

When a data profile is modified, a message is fired with a state of the modified data profile in the body.

Topic

v2.data_profiles.:guid.PATCH

Subscribe to it by using "v2.data_profiles.*.PATCH" Binding Key.

Example Message

Topic: v2.data_profiles.5210c7d-cf6b-4204-95d2-95d84ecbe382.PATCH Message:

{
 &quot;event&quot;: &quot;UPDATE_DATA_PROFILE&quot;,
 &quot;actor&quot;: {          
   &quot;user_name&quot;: &quot;john@acme.com&quot;,           
 },
 &quot;published&quot;: &quot;2015-05-10T15:04:15Z&quot;,
 &quot;url&quot;: { /* The href of the DataProfile created */}
 &quot;status_code&quot;: { /* The Http Status code , 200 if the DataProfile is updated successfully */}
 &quot;state&quot;: { /* the data profile object equivalent to the one obtained by GET /v2/data_profiles/{profile_id} API */ }
 &quot;details&quot;: {
    &quot;catalog_id&quot;: &quot;f3c59258-abdd-4e24-828b-0495ec519339&quot;,
    &quot;dataset_id&quot;: &quot;e522db21-59e8-44ab-81b2-bb40c3030a6f&quot;,
    &quot;profile_id&quot;: &quot;5165d439-96f0-40d4-90b2-93795deab61b&quot;,
    &quot;is_governed&quot;: false { /* set to true if the catalog is_governed else set it to false}
    }
}

Request

Request Body

The updates to make in the one or more data profiles.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

Response

200 - Success.

401 - You are not authorized to update the data profile you specified.

403 - You are not permitted to perform this action.

404 - The catalog / project you specified cannot be found.

500 - An error occurred. The catalog / project you specified cannot be updated.

Stop profiling process

PUT /v2/data_profiles/{profile_id}/execution

Status: Complete

Stops an in-progress profiling run in the specified project or catalog, provided the caller has the necessary rights to do so. This API will request the action to be performed and return, not perform the action and wait for it to complete.

Request

Request Body

DataProfilingDataProfileRunStatusRequest

The requested action to perform on the profile run.

action

string

The requested action (Response only).

Path Parameters

profile_id

Required *

string

The profile ID to use.

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Response

202 - Requested.

401 - You are not authorized to stop the profiling process.

403 - You are not permitted to perform this action.

404 - The data profile you specified cannot be found.

500 - An error occurred. The profiling process cannot be stopped.

Get profiling logs

GET /v2/data_profiles/{profile_id}/logs

Status: Complete

Get the logs for the data profile job run on data set in a project or catalog.

Request

Path Parameters

profile_id

Required *

string

The profile ID to use.

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

Response

200 - Success.

logs

array

A collection of data profile job run log entries.

401 - You are not authorized to get the profiling logs.

403 - You are not permitted to perform this action.

404 - The data profile you specified cannot be found.

trace

string

errors

array

500 - An error occurred. Failed to get profiling logs.

trace

string

errors

array

Get the list of data quality dimensions available.

GET /v2/data_profiles/dqdimensions

Status: Complete

Get the list of data quality dimensions available.

Request

Response

200 - Success.

dimensions

array

A collection of data quality dimensions.

403 - You are not permitted to perform this action.

500 - An error occurred. Failed to get quality dimensions.

trace

string

errors

array

Modify asset level classification

PATCH /v2/data_profiles/classification

Status: Complete

Modifies asset level classification detail in the data_profile attribute in the specified project or catalog, provided the caller has the necessary rights to do so. This API is used for CRUD operations on asset level classification.

The patch request for classification should contain the classification details that are to be added to the data_profile attribute.

The updates must be specified by using the JSON patch format, described in RFC 6902.

Request

Request Body

The asset level classification details that are added to the data_profile attribute.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Response

200 - Success.

400 - Invalid classification details provided as part of the patch call.

401 - You are not authorized to modify the data_profile attribute with asset level classification details.

403 - You are not permitted to perform this action.

404 - The asset classification cannot be found.

500 - An error occurred. The data_profile attribute cannot be modified with asset level classification detail.

Get data profile options

GET /v2/data_profiles/options

Status: Complete

Get the data profile options for the Account specified in the IAM token. If the account level data profile options is not available check if it is specified at project or catalog account level, provided the caller has the necessary rights to do so.

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Response

200 - Success.

metadata

DataProfilingDataProfileOptionsMetadata

Metadata about data profile options

entity

object

The underlying asset entity.

401 - You are not permitted to perform this action.

403 - You are not authorized to list the available data profiles options.

404 - Not Found.

500 - An error occurred. The data profiles options cannot be listed.

trace

string

errors

array

501 - This API is not Implemented.

Create data profile options

POST /v2/data_profiles/options

Status: Complete

Creates a data profile options for a given Account Id in the specified project or catalog, provided the caller has the necessary rights to do so.

Request

Request Body

DataProfilingDataProfileOptionsObject

The data profile option to create.

metadata

Required *

DataProfilingDataProfileOptionsMetadata

Metadata about data profile options

asset_id

string

The ID of the data profile options (Response only)

account_id

Required *

string

The ID of the account which contains the data profile options.

project_id

string

The ID of the project to use.

catalog_id

string

The ID of the catalog to use.

created_at

string

The timestamp when the asset was created (in format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as specified by RFC 3339) (Response only)

creator

string

The user ID that created the asset (Response only)

accessed_at

string

The timestamp when the asset was last accessed (in format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as specified by RFC 3339) (Response only)

last_updater

string

The user ID that last updated the class (Response only)

entity

Required *

object

The underlying asset entity.

data_profile_options

Required *

object

The options of the profiling execution.

Path Parameters

Query Parameters

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Response

201 - Success.

401 - You are not authorized to create data profile options.

403 - You are not permitted to perform this action.

404 - The data profile options cannot be found.

500 - An error occurred. The data profile options cannot be created.

501 - This API is not Implemented.

Delete data profile options

DELETE /v2/data_profiles/options

Status: Complete

Delete the list of data profile options in the specified project or catalog, provided the caller has the necessary rights to do so. If the user specifies the catalog_id or the project_id then the data profile options specified for the catalog or project is deleted. If none of the query parameters,catalog_id or project_id is specified, the default is to delete the account level data profile options.

Request

Path Parameters

Query Parameters

bss_account_ids

string

Comma separated list of the BSS Account IDs to use (restriced usage).

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Response

204 - Success.

401 - You are not permitted to perform this action.

403 - You are not authorized to list the available data profiles options.

404 - Not Found.

500 - An error occurred. The data profiles options cannot be listed.

501 - This API is not Implemented.

Update the data profile options.

PATCH /v2/data_profiles/options

Status: Complete

Updates the data profile options for a given Account in the specified project or catalog, provided the caller has the necessary rights to do so. The data profile options that can be modified are max_row_count,row_percentage,max_distribution_size,max_numeric_stats_bin disabled flag in classification options,ibm_class_codes and custom_class_codes.

If the user specifies the catalog_id or the project_id then the data profile options specified for the catalog or project is updated. Update the account level data profile options if catalog_id or project_id is not specified.

Request

Request Body

The data profile options to add.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

use_mde

boolean

Whether to use Metadata enrichment for profiling. If set to true, Metadata enrichment features are eanbled (will use new Lite services).

Response

200 - Success.

401 - You are not authorized to update the data profile options.

403 - You are not permitted to perform this action.

404 - The data profile options you specified cannot be found.

500 - An error occurred. The data profile options cannot be updated.

501 - This API is not Implemented.

Persist profiling results

POST /v2/data_profiles/results

Status: Complete

Persist profiling results of dataset in a project or catalog. (For internal use only)

Request

Request Body

DataProfilingProfilingResults

The data profile option to create.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

tenant_id

Required *

string

The tenant ID to use.

correlation_id

string

The ID to be used for tracking end to end flow.

result_type

string

The type of result being saved (CA, DQA, BOTH).

collect_metric_data

boolean

Whether to collect the history metric data.

last_try

boolean

Whether the attempt is last.

collect_joinable_data

boolean

Whether to collect the joinable data for embeddings.

Response

200 - Success.

401 - You are not authorized to persist results.

403 - You are not permitted to perform this action.

404 - Asset or profile is missing

500 - An error occurred. The profiling results cannot be saved.

501 - This API is not Implemented.

Update data profile results status

POST /v2/data_profiles/results/status

Status: Complete

Update data profile result status of dataset in a project or catalog. (For internal use only)

Request

Request Body

DataProfilingDataProfileResultStatus

The data profile result status to update.

status

Required *

string

The data profile status.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

tenant_id

Required *

string

The tenant ID to use.

correlation_id

string

The ID to be used for tracking end to end flow.

result_type

string

The type of result being saved (CA, DQA, BOTH).

collect_metric_data

boolean

Whether to collect the history metric data.

last_try

boolean

Whether the attempt is last.

Response

200 - Success.

401 - You are not authorized to update data profile result status.

403 - You are not permitted to perform this action.

404 - Asset or profile is missing

500 - An error occurred. The data profile result status cannot be saved.

501 - This API is not Implemented.

Get bivariate results of given asset.

GET /v2/data_profiles/bivariate_results

Status: Complete

Get bivariate results of dataset in a project or catalog. (For internal use only)

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

Response

200 - Success.

401 - You are not authorized to persist results.

403 - You are not permitted to perform this action.

404 - Asset is missing

500 - An error occurred. The bivariate results cannot be retrieved.

501 - This API is not Implemented.

Persist bivariate results of given asset.

POST /v2/data_profiles/bivariate_results

Status: Complete

Persist bivariate results of dataset in a project or catalog. (For internal use only)

Request

Request Body

DataProfilingBivariateResults

The bivariate results to persist.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

Response

200 - Success.

401 - You are not authorized to persist results.

403 - You are not permitted to perform this action.

404 - Asset is missing

500 - An error occurred. The bivariate results cannot be saved.

501 - This API is not Implemented.

Export data profile

GET /v2/data_profiles/export

Status: Complete

Export data profile of dataset in a project or catalog. (For internal use only)

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

taskId

Required *

string

The ID of the export task ID to use.

Response

200 - Success.

file_paths

array

List of file paths that hold the profiling results. These files should be added to the project export archive.

401 - You are not authorized to persist results.

403 - You are not permitted to perform this action.

404 - Asset or profile is missing

500 - An error occurred. The profiling results cannot be saved.

501 - This API is not Implemented.

Import data profile

POST /v2/data_profiles/import

Status: Complete

Import data profile of dataset in a project or catalog. (For internal use only)

Request

Request Body

DataProfilingDataProfileImport

The data profile to import.

source_path

string

Source path where the import archive is deflated. If this value is provided, the profiling results are read from source_path/assets/profiling directory by setting the root=true. If this value is not provided, results files are read from profiling directory by setting the root=false.

asset_ref_map

DataProfilingDataProfileImportAssetRefMap

Map of the old asset ids to new asset ids

owner_id

string

IBM cloud IAM user id of the creator of the asset.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

Required *

string

The ID of the data set to use.

Response

200 - Success.

401 - You are not authorized to persist results.

403 - You are not permitted to perform this action.

404 - Asset or profile is missing

500 - An error occurred. The profiling results cannot be saved.

501 - This API is not Implemented.

This filters rows from the frequency distribution.

POST /v2/data_profiles/{profile_id}/unique_values

This filters rows from the frequency distribution.

Request

Request Body

DataProfilingFrequencyDistributionRequestBody

project_id

string

catalog_id

string

dataset_id

Required *

string

column_name

Required *

string

get_total_count

boolean

value_after

string

count_after

integer

format_after

string

offset

integer

limit

integer

type

string

length

integer

scale

integer

precision

integer

format

string

data_class

string

sort

array

array

Path Parameters

profile_id

Required *

string

The profile ID to use.

Query Parameters

Response

200 - Success.

total_count

integer

unique_values

array

401 - You are not authorized to get the key analysis you specified.

trace

string

errors

array

403 - You are not permitted to perform this action.

trace

string

errors

array

404 - The key analysis task you specified cannot be found.

trace

string

errors

array

500 - An error occurred. The data profile you specified cannot be fetched.

trace

string

errors

array

Migrate data profile quality results to new Data Quality service

POST /v2/data_profiles/migrate

Status: Complete

Migrate data profile quality results of dataset in a project or catalog to new Data Quality service.

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. catalog_id or project_id is required.

project_id

string

The ID of the project to use. catalog_id or project_id is required.

dataset_id

string

The ID of the data set to use.(Use comma separated data set Id's for multiple data sets)

Response

200 - Successfully initiated migration process.

logs

array

400 - Bad request. Provided parameters could be invalid.

401 - You are not authorized, either token is expired or invalid.

403 - You are not permitted to perform this action. Only Editor or Admin are allowed.

404 - Catalog or Project not found.

500 - An error occurred. The profiling results cannot be migrated to data quality service.

501 - This API is not Implemented.

List Hummingbird tasks

GET /v1/hb_tasks

Status: Complete

Get the list of Hummingbird tasks for a specified accout or type, provided the caller has the necessary rights to do so.

Request

Path Parameters

Query Parameters

bss_account_id

string

The BSS Account ID to use.

job_type

string

The type of the job.

all_details

boolean

Fetch complete details of job.

Response

200 - Success.

401 - You are not permitted to perform this action.

403 - You are not authorized to list the available Hummingbird tasks.

404 - Not Found.

500 - An error occurred. The HB tasks cannot be listed.

trace

string

The trace id used to help locate the error in logs.

errors

array

The error objects.

Create a Hummingbird task

POST /v1/hb_tasks

Status: Complete

Creates a Hummingbird task entry job.

Request

Request Body

DataProfilingHbTaskRequest

The Hummingbird task to create.

account_id

Required *

string

The ID of the account

free_account_plan

Required *

boolean

Indicates if account plan is free plan

job_type

Required *

string

Type of the job

job_payload

Required *

string

The job payload

correlation_id

string

The id to track complete flow

status

string

Status of the HB job

priority

integer

Priority of the HB job

project_id_for_logs

string

The ID of the project where the spark job logs need to be saved. If this value is not provided or is invalid then the spark job logs will be stored in default COS bucket.

runtime_registration_parameters

DataProfilingRuntimeRegistrationParameters

A RuntimeRegistrationParameters holds details to be sent to runtimes api to report CUH for HB job.

environment_type

Required *

string

Type of of the component

tool_name

Required *

string

Tool name of the component

service_offering

Required *

string

Service offering name e.g. watson_knowledge_catalog

instance

Required *

string

The id of the instance the CUH needs to be charged to. e.g. an id of the wkc instance

capacity_units

integer

Capacity units multiplication factor

minimum_usage

integer

Minimum usage in milliseconds to be charged for this job

hardware_specification

object

If capacity_units is not provided then this can be used to alter the multiplication factor by the runtimes api.

plan_created_at

string

The timestamp when the data catalog plan was created (ISO 8601 format)

compute_units

DataProfilingComputeUnits

A ComputeUnits holds details to determine if a particular account has surpassed its CUH.

stop_on_max_compute_units

Required *

boolean

Stop job submission if an account has surpassed its allocated CUH

notify_on_max_compute_units

Required *

boolean

Send a notification if an account has surpassed its allocated CUH

max_compute_units_per_month

Required *

number

Maximum allocated CUH per month for current account plan

Response

200 - Success.

401 - You are not authorized to create a Hummingbird task.

403 - You are not permitted to perform this action.

404 - The data profile cannot be found.

500 - An error occurred. The Hummingbird task cannot be created.

Stop Hummingbird tasks

POST /v1/hb_tasks/stop

Status: Complete

Stops given Hummingbird task ids. If the Hummingbird task is already completed or is not found then it will be ignored. If the task is locked by other process then it will be ignored as well.

Request

Request Body

DataProfilingHbTaskIds

The Hummingbird task ids to stop.

hb_task_ids

Required *

array

The array of hb_task_id to use during bulk processing

Response

200 - Success.

401 - You are not authorized to cancel Hummingbird tasks.

403 - You are not permitted to perform this action.

500 - An error occurred. The Hummingbird tasks cannot be stopped.

Delete Hummingbird tasks

POST /v1/hb_tasks/delete

Status: Complete

Delete given Hummingbird task ids. If a Hummingbird task is not found then it will be ignored. If the Hummingbird task is running and stop_in_progress_job is not true then it will be ignored. If the task is locked by other process then it will be ignored as well.

Request

Request Body

DataProfilingHbTaskIds

The Hummingbird task ids to delete.

hb_task_ids

Required *

array

The array of hb_task_id to use during bulk processing

Path Parameters

Query Parameters

stop_in_progress_job

boolean

Stop running job.

Response

200 - Success.

401 - You are not authorized to cancel a Hummingbird task.

403 - You are not permitted to perform this action.

500 - An error occurred. The Hummingbird tasks cannot be deleted.

Get HB task

GET /v1/hb_tasks/{hb_task_id}

Status: Complete

Gets a Hummingbird task.

Request

Path Parameters

hb_task_id

Required *

string

The ID of the HB task to use.

Query Parameters

Response

200 - Success.

id

string

The ID of the task

account_id

string

The ID of the account

free_account_plan

boolean

Indicates if account plan is free plan

job_type

string

Type of the job

job_payload

string

The job payload

correlation_id

string

The id to track complete flow

priority

integer

Priority of the HB job

job_id

string

The ID of the HB job

create_time

string

Timestamp of task creation

job_submission_time

string

Timestamp of job submission

job_end_time

string

Timestamp of job completion

job_execution_time

integer

The duration for which job was run

retry_count

integer

The number of times the job was retried

status

string

Status of the HB job

project_id_for_logs

string

The ID of the project where the spark job logs need to be saved. If this value is not provided or is invalid then the spark job logs will be stored in default COS bucket.

runtime_registration_parameters

DataProfilingRuntimeRegistrationParameters

A RuntimeRegistrationParameters holds details to be sent to runtimes api to report CUH for HB job.

compute_units

DataProfilingComputeUnits

A ComputeUnits holds details to determine if a particular account has surpassed its CUH.

401 - You are not authorized to get the data profile you specified.

403 - You are not permitted to perform this action.

404 - The HB task you specified cannot be found.

trace

string

The trace id used to help locate the error in logs.

errors

array

The error objects.

500 - An error occurred. The HB task you specified cannot be fetched.

trace

string

The trace id used to help locate the error in logs.

errors

array

The error objects.

Delete Hummingbird task

DELETE /v1/hb_tasks/{hb_task_id}

Status: Complete

Deletes a specified Hummingbird task.

This api will throw an exception if stop_in_progress_job parameter is not true and if job is running.

Request

Path Parameters

hb_task_id

Required *

string

The ID of the HB task to use.

Query Parameters

stop_in_progress_job

boolean

Stop running job.

Response

204 - Success.

401 - You are not authorized to delete Hummingbird task.

403 - You are not permitted to perform this action.

404 - Hummingbird task not found.

500 - An error occurred. The Hummingbird task cannot be deleted.

Start Hummingbird task

POST /v1/hb_tasks/{hb_task_id}/start

Status: Complete

Start the specified Hummingbird task, if it is in QUEUED state.

The Hummingbird task is starte in engine, if it is in queued state

Request

Path Parameters

hb_task_id

Required *

string

The ID of the HB task to use.

Query Parameters

Response

204 - Success.

400 - The Hummingbird task is not QUEUED.

401 - You are not authorized to start Hummingbird task.

403 - You are not permitted to perform this action.

404 - Hummingbird task not found.

500 - An error occurred. The failed to start Hummingbird task.

Stop Hummingbird task

POST /v1/hb_tasks/{hb_task_id}/stop

Status: Complete

Stop the specified Hummingbird task.

The Hummingbird task is force stopped in engine

Request

Path Parameters

hb_task_id

Required *

string

The ID of the HB task to use.

Query Parameters

Response

204 - Success.

401 - You are not authorized to delete Hummingbird task.

403 - You are not permitted to perform this action.

404 - Hummingbird task not found.

500 - An error occurred. The failed to stop Hummingbird task.

Get Hummingbird task logs

GET /v1/hb_tasks/{hb_task_id}/logs

Status: Complete

Get the spark job logs for Hummingbird task. In order to retrieve the job logs, the HB spark job must be successfully submitted. This will generate a job_id. When successful, this api would return the Hummingbird spark job log.

Request

Path Parameters

hb_task_id

Required *

string

The ID of the HB task to use.

Query Parameters

job_id

string

The ID of the HB job to use.

Response

200 - Success.

401 - You are not authorized to get Hummingbird task logs.

403 - You are not permitted to perform this action.

404 - Hummingbird task not found.

500 - An error occurred. Failed to retrieve Hummingbird task logs.

List all data quality rules or a subset of them

GET /data_quality/v3/projects/{project_id}/rules

Get a list of data quality rules in the project.

Request

Path Parameters

Query Parameters

start

The start token of the resource from where the page should begin.

limit

The maximum number of resources to return.

id

Comma-separated list of data quality rule identifiers.

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

rules

array

A collection of data quality rules.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the list of data quality rules in the specified project.

trace

string

errors

array

500 - An error occurred. The list of data quality rules could not be returned.

trace

string

errors

array

Create data quality rule

POST /data_quality/v3/projects/{project_id}/rules

Create a data quality rule.

Request

Request Body

DataQualityRulePrototype

Data quality rule to create.

name

Required *

string

The name of the data quality rule. The rule name must be unique in the given project. If no unique name is provided, the quality rule will not be created.

description

string

The description of the data quality rule. If this property is omitted, no description is set.

description_ai_generated

boolean

Indicates whether the description of the rule is AI generated or not.

dimension

DataQualityDimensionIdentity

Identity of a data quality dimension resource. If this property is omitted, no data quality dimension is associated with the resource.

id

Required *

string

Resource identifier.

apply_all_present_dimensions

boolean

Flag indicating whether the rule contributes to all dimensions that are defined in the data quality definitions used in this rule. If the value of this field is set to true, then `dimension` will be ignored.

input

Required *

DataQualityRuleInputPrototype

Data quality rule input details.

sql

object

Data quality rule input sql details. This property can be omitted if `definitions` values is provided.

definitions

array

Provides data quality rule input definition details. This property can be omitted if `sql` value is provided.

output

DataQualityRuleOutputPrototype

The output details of a data quality rule. If this property is omitted, no output records are saved.

database

object

The output database details when the output needs to be saved in a database table. This field can be omitted if value for `links` is provided.

maximum_record_count

integer

Maximum number of records to be written to the output. The value `-1` indicates that all records should be written to the output.

columns

Required *

array

A list of columns in the rule output.

array

The output links to be generated when the output needs to be further processed in the data stage flow. This field should be used when value of `data_stage` is provided and the output needs to be further passed to the next data stage operators. This field can be omitted if value for `database` field is provided.

inherit_project_level_output_setting

boolean

Flag indicating whether to inherit system table for output or not.

create_table_only_when_issues_are_found

boolean

Flag indicating to create table only when issues are found.

import_table_in_project

boolean

Flag indicating whether to import table to project asset or not.

joins

array

The joins between data assets referenced in bindings and output. This property is not required if the rule is to be run on a single data asset. This property is also not required if a value for `data_stage` is provided.

sampling

DataQualityRuleSamplingPrototype

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

sampling_type

string

The sampling method to use.

size

integer

The maximum size of the sample. This is the maximum number of source records that are tested against the rule logic.

interval

integer

The sampling interval for the sampling type `sequential`.

seed

integer

The sampling seed for the sampling type `random`. If no value for this property is provided, a value is generated from the current timestamp.

fraction

number

The sampling fraction for the sampling type `random`.

data_stage

DataQualityRuleDataStagePrototype

Representation of the data stage flow resource to create. If this property is omitted, no subflow is created for the data quality rule.

flow

object

Data stage flow to create.

propagate_all_incoming_columns

boolean

If selected, columns from the incoming link are propagated to the output in addition to the selected output.

read_only

boolean

If true, the referenced DataStage flow already exists and should not be created, updated or deleted.

Path Parameters

Query Parameters

create_data_stage_flow_synchronous

boolean

The option to create flow before for data quality rules.

Response

201 - Success.

name

string

The name of the data quality rule. The name of the quality rule will be unique in a given project.

description

string

The description of the data quality rule. If this property is omitted, no description is set.

description_ai_generated

boolean

Indicates whether the description of the rule is AI generated or not.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

apply_all_present_dimensions

boolean

Flag indicating whether the rule contributes to all dimensions that are defined in the data quality definitions used in this rule. If the value of this field is set to true, then `dimension` will be ignored.

input

DataQualityRuleInput

Data quality rule input details.

output

DataQualityRuleOutput

The output details of a data quality rule.

joins

array

The joins between data assets referenced in bindings and output. This property is not required if the rule is to be run on a single data asset. This property is also not required if a `data_stage` element is provided.

sampling

DataQualityRuleSampling

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

data_stage

DataQualityRuleDataStage

Data stage flow details.

id

string

Resource identifier.

is_valid

boolean

Flag indicating whether the rule is valid or not.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to create data quality rules in the specified project.

trace

string

errors

array

500 - An error occurred. The data quality rule could not be created.

trace

string

errors

array

Delete data quality rules

DELETE /data_quality/v3/projects/{project_id}/rules

Delete the data quality rules for the given list of rule identifiers.

Request

Path Parameters

Query Parameters

id

Required *

Comma-separated list of data quality rule identifiers.

delete_output

boolean

The option to delete related output tables when deleting data quality rules.

cancel_unfinished_jobs

boolean

The option to cancel unfinished jobs before deleting or updating data quality rules.

Response

204 - Success.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data quality rules in the specified project.

trace

string

errors

array

500 - An error occurred. The data quality rules cannot be deleted.

trace

string

errors

array

Validate data quality rule

POST /data_quality/v3/projects/{project_id}/validate_rule

Check the validity of the data quality rule.

Request

Request Body

DataQualityRulePrototype

Data quality rule to validate.

name

Required *

string

The name of the data quality rule. The rule name must be unique in the given project. If no unique name is provided, the quality rule will not be created.

description

string

The description of the data quality rule. If this property is omitted, no description is set.

description_ai_generated

boolean

Indicates whether the description of the rule is AI generated or not.

dimension

DataQualityDimensionIdentity

Identity of a data quality dimension resource. If this property is omitted, no data quality dimension is associated with the resource.

id

Required *

string

Resource identifier.

apply_all_present_dimensions

boolean

Flag indicating whether the rule contributes to all dimensions that are defined in the data quality definitions used in this rule. If the value of this field is set to true, then `dimension` will be ignored.

input

Required *

DataQualityRuleInputPrototype

Data quality rule input details.

sql

object

Data quality rule input sql details. This property can be omitted if `definitions` values is provided.

definitions

array

Provides data quality rule input definition details. This property can be omitted if `sql` value is provided.

output

DataQualityRuleOutputPrototype

The output details of a data quality rule. If this property is omitted, no output records are saved.

database

object

The output database details when the output needs to be saved in a database table. This field can be omitted if value for `links` is provided.

maximum_record_count

integer

Maximum number of records to be written to the output. The value `-1` indicates that all records should be written to the output.

columns

Required *

array

A list of columns in the rule output.

array

The output links to be generated when the output needs to be further processed in the data stage flow. This field should be used when value of `data_stage` is provided and the output needs to be further passed to the next data stage operators. This field can be omitted if value for `database` field is provided.

inherit_project_level_output_setting

boolean

Flag indicating whether to inherit system table for output or not.

create_table_only_when_issues_are_found

boolean

Flag indicating to create table only when issues are found.

import_table_in_project

boolean

Flag indicating whether to import table to project asset or not.

joins

array

The joins between data assets referenced in bindings and output. This property is not required if the rule is to be run on a single data asset. This property is also not required if a value for `data_stage` is provided.

sampling

DataQualityRuleSamplingPrototype

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

sampling_type

string

The sampling method to use.

size

integer

The maximum size of the sample. This is the maximum number of source records that are tested against the rule logic.

interval

integer

The sampling interval for the sampling type `sequential`.

seed

integer

The sampling seed for the sampling type `random`. If no value for this property is provided, a value is generated from the current timestamp.

fraction

number

The sampling fraction for the sampling type `random`.

data_stage

DataQualityRuleDataStagePrototype

Representation of the data stage flow resource to create. If this property is omitted, no subflow is created for the data quality rule.

flow

object

Data stage flow to create.

propagate_all_incoming_columns

boolean

If selected, columns from the incoming link are propagated to the output in addition to the selected output.

read_only

boolean

If true, the referenced DataStage flow already exists and should not be created, updated or deleted.

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

Response

200 - The data quality rule is valid.

name

string

The name of the data quality rule. The name of the quality rule will be unique in a given project.

description

string

The description of the data quality rule. If this property is omitted, no description is set.

description_ai_generated

boolean

Indicates whether the description of the rule is AI generated or not.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

apply_all_present_dimensions

boolean

Flag indicating whether the rule contributes to all dimensions that are defined in the data quality definitions used in this rule. If the value of this field is set to true, then `dimension` will be ignored.

input

DataQualityRuleInput

Data quality rule input details.

output

DataQualityRuleOutput

The output details of a data quality rule.

joins

array

The joins between data assets referenced in bindings and output. This property is not required if the rule is to be run on a single data asset. This property is also not required if a `data_stage` element is provided.

sampling

DataQualityRuleSampling

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

data_stage

DataQualityRuleDataStage

Data stage flow details.

id

string

Resource identifier.

is_valid

boolean

Flag indicating whether the rule is valid or not.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to validate data quality rules in the specified project.

trace

string

errors

array

500 - The data quality rule is invalid. See the error message for the cause.

trace

string

errors

array

Get data quality rule

GET /data_quality/v3/projects/{project_id}/rules/{id}

Gets the data quality rule with the given identifier.

Request

Response

200 - Success.

name

string

The name of the data quality rule. The name of the quality rule will be unique in a given project.

description

string

The description of the data quality rule. If this property is omitted, no description is set.

description_ai_generated

boolean

Indicates whether the description of the rule is AI generated or not.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

apply_all_present_dimensions

boolean

Flag indicating whether the rule contributes to all dimensions that are defined in the data quality definitions used in this rule. If the value of this field is set to true, then `dimension` will be ignored.

input

DataQualityRuleInput

Data quality rule input details.

output

DataQualityRuleOutput

The output details of a data quality rule.

joins

array

The joins between data assets referenced in bindings and output. This property is not required if the rule is to be run on a single data asset. This property is also not required if a `data_stage` element is provided.

sampling

DataQualityRuleSampling

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

data_stage

DataQualityRuleDataStage

Data stage flow details.

id

string

Resource identifier.

is_valid

boolean

Flag indicating whether the rule is valid or not.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality rule with the given identifier from the specified project.

trace

string

errors

array

404 - The data quality rule cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality rule with the given identifier cannot be returned.

trace

string

errors

array

Delete data quality rule

DELETE /data_quality/v3/projects/{project_id}/rules/{id}

Delete the data quality rule with the given identifier.

Request

Path Parameters

Query Parameters

delete_output

boolean

The option to delete related output tables when deleting data quality rules.

cancel_unfinished_jobs

boolean

The option to cancel unfinished jobs before deleting or updating data quality rules.

Response

204 - Success.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data quality rule from the specified project.

trace

string

errors

array

404 - The data quality rule cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality rule cannot be deleted.

trace

string

errors

array

Update data quality rule

PATCH /data_quality/v3/projects/{project_id}/rules/{id}

Updates a data quality rule as specified in the payload details of the update rule request. The updates must be specified by using the JSON patch format, described in RFC 6902. <p> The following attributes can be patched: - name (value can only be replaced) - definition (value can only be replaced) - description (value can be added, removed, or replaced) - dimension (value can be added, removed, or replaced) - input (value can be added, removed or replaced) - output (value can be added, removed, or replaced) - joins (value can be added, removed, or replaced) - sampling (value can be added, removed, or replaced) - data_stage/propagate_all_incoming_columns (value can be added, removed, or replaced)

Request

Request Body

The updates to make in the data quality rule.

Path Parameters

Query Parameters

cancel_unfinished_jobs

boolean

The option to cancel unfinished jobs before deleting or updating data quality rules.

keep_rule_relationships

boolean

The option to keep the current data quality rule input binding relationships while updating the data quality rule.

Response

200 - Success.

name

string

The name of the data quality rule. The name of the quality rule will be unique in a given project.

description

string

The description of the data quality rule. If this property is omitted, no description is set.

description_ai_generated

boolean

Indicates whether the description of the rule is AI generated or not.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

apply_all_present_dimensions

boolean

Flag indicating whether the rule contributes to all dimensions that are defined in the data quality definitions used in this rule. If the value of this field is set to true, then `dimension` will be ignored.

input

DataQualityRuleInput

Data quality rule input details.

output

DataQualityRuleOutput

The output details of a data quality rule.

joins

array

The joins between data assets referenced in bindings and output. This property is not required if the rule is to be run on a single data asset. This property is also not required if a `data_stage` element is provided.

sampling

DataQualityRuleSampling

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

data_stage

DataQualityRuleDataStage

Data stage flow details.

id

string

Resource identifier.

is_valid

boolean

Flag indicating whether the rule is valid or not.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update the data quality rule in the specified project.

trace

string

errors

array

404 - The data quality rule cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality rule was not updated.

trace

string

errors

array

Run data quality rule

POST /data_quality/v3/projects/{project_id}/rules/{id}/execute

Run the data quality rule with the given identifier.

Request

Path Parameters

Query Parameters

data_contract_id

The identifier of the data contract.

data_contract_run_id

The identifier of the data contract run.

Response

200 - Success.

passing_record_count

integer

Number of passing records.

failing_record_count

integer

Number of failing records.

input

DataQualityRuleInput

Data quality rule input details.

output

DataQualityRuleOutput

The output details of a data quality rule.

sampling

DataQualityRuleSampling

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

tested_record_count

integer

Number of records tested.

job

DataQualityJobReference

Identity of a job associated with a rule.

flow

DataQualityFlowIdentityPrototype

Identity of a flow associated with a datastage job.

job_run

DataQualityJobRunReference

Identity of a run associated with a job, which in turn is associated with a a rule.

status

DataQualityRuleExecutionStatus

The status of the rule run.

started_at

string

The start time of the rule run.

ended_at

string

The end time of the rule run.

run_by

string

The name of the user that ran the rule.

name

string

Name of the result.

id

string

Resource identifier.

href

string

The location URL of a resource.

definition_counts

array

A list of execution results per definition.

output_table

DataQualityOutputTableReference

Identity of an output table data asset. This property is omitted if no output table is defined for the data quality rule.

output_table_deleted

boolean

If the table is deleted because of no recourds after run

subflow_stage_details

DataQualitySubflowStageDetails

custom_properties

object

Custom properties associated with the rule execution.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to run the data quality rule in the specified project.

trace

string

errors

array

404 - The data quality rule cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality rule cannot be run.

trace

string

errors

array

List history of all data quality rule run results or a subset of them

GET /data_quality/v3/projects/{project_id}/rules/{rule_id}/executions

Gets the list of data quality rule runs. By default, the runs are sorted newest to oldest.

Request

Path Parameters

Query Parameters

start

The start token of the resource from where the page should begin.

limit

The maximum number of resources to return.

sort

string

The property name by which the results should be sorted. For descending order, use the hyphen (-) prefix with the value. If you omit this query parameter, the order value is `-started_at`, which means, results are sorted by the `started_at` value in descending order. The allowed fields are `started_at`, `passing_record_count`, `failing_record_count`, `tested_record_count`, `status.state`.

job_id

The specific job id for the data quality rule execution results.

subflow_stage_name

string

The name of the DQ rule subflow stage that should be associated with the retrieved executions.

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

executions

array

A list of rule run results, sorted based on the value of the `sort` query parameter.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality rule history in the specified project.

trace

string

errors

array

500 - An error occurred. The data quality rule history could not be returned.

trace

string

errors

array

Get the data quality rule run

GET /data_quality/v3/projects/{project_id}/rules/{rule_id}/executions/{id}

Gets the data quality rule run result with the given identifier.

Request

Path Parameters

rule_id

Required *

The data quality rule identifier.

id

Required *

The run identifier to use.

project_id

Required *

The identifier of the project to use.

Query Parameters

Response

200 - Success.

passing_record_count

integer

Number of passing records.

failing_record_count

integer

Number of failing records.

input

DataQualityRuleInput

Data quality rule input details.

output

DataQualityRuleOutput

The output details of a data quality rule.

sampling

DataQualityRuleSampling

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

tested_record_count

integer

Number of records tested.

job

DataQualityJobReference

Identity of a job associated with a rule.

flow

DataQualityFlowIdentityPrototype

Identity of a flow associated with a datastage job.

job_run

DataQualityJobRunReference

Identity of a run associated with a job, which in turn is associated with a a rule.

status

DataQualityRuleExecutionStatus

The status of the rule run.

started_at

string

The start time of the rule run.

ended_at

string

The end time of the rule run.

run_by

string

The name of the user that ran the rule.

name

string

Name of the result.

id

string

Resource identifier.

href

string

The location URL of a resource.

definition_counts

array

A list of execution results per definition.

output_table

DataQualityOutputTableReference

Identity of an output table data asset. This property is omitted if no output table is defined for the data quality rule.

output_table_deleted

boolean

If the table is deleted because of no recourds after run

subflow_stage_details

DataQualitySubflowStageDetails

custom_properties

object

Custom properties associated with the rule execution.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality rule run result in the specified project.

trace

string

errors

array

500 - An error occurred. The result of data quality rule run could not be returned.

trace

string

errors

array

List all data quality definitions or a subset of them

GET /data_quality/v3/projects/{project_id}/definitions

Gets the list of all data quality definitions.

Request

Path Parameters

Query Parameters

start

The start token of the resource from where the page should begin.

limit

The maximum number of resources to return.

id

Comma-separated list of data quality definition identifiers.

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

definitions

array

A collection of existing definitions.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the list of data quality definitions in the specified project.

trace

string

errors

array

500 - An error occurred. The list of data quality definitions cannot be returned.

trace

string

errors

array

Create data quality definition

POST /data_quality/v3/projects/{project_id}/definitions

Creates a data quality definition in the specified project.

Request

Request Body

DataQualityDefinitionPrototype

Data quality definition to create.

name

Required *

string

The name of the data quality definition. The name of the definition must be unique in the given project. If no unique name is provided, the REST call fails.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

Required *

string

The expression of the data quality definition.

dimension

DataQualityDimensionIdentity

Identity of a data quality dimension resource. If this property is omitted, no data quality dimension is associated with the resource.

id

Required *

string

Resource identifier.

Response

201 - Success.

name

string

The name of the data quality definition. The name of the quality definition is unique in a given project.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

string

The expression of the data quality definition.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

id

string

Resource identifier.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to create a definition in the specified project.

trace

string

errors

array

500 - An error occurred. The definition was not created.

trace

string

errors

array

Delete data quality definitions

DELETE /data_quality/v3/projects/{project_id}/definitions

Delete the data quality definitions with the given identifiers.

Request

Path Parameters

Query Parameters

id

Required *

Comma separated list of data quality definition identifiers.

Response

204 - Success.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data quality definitions in the specified project or catalog.

trace

string

errors

array

500 - An error occurred. The data quality definitions cannot be deleted.

trace

string

errors

array

Validate data quality definition expression

POST /data_quality/v3/projects/{project_id}/validate_definition

Validate the specified definition expression.

Request

Request Body

DataQualityDefinitionPrototype

Data quality definition to validate.

name

Required *

string

The name of the data quality definition. The name of the definition must be unique in the given project. If no unique name is provided, the REST call fails.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

Required *

string

The expression of the data quality definition.

dimension

DataQualityDimensionIdentity

Identity of a data quality dimension resource. If this property is omitted, no data quality dimension is associated with the resource.

id

Required *

string

Resource identifier.

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

partial_expression

boolean

True if the expression to validate is an output column expression. False if the expression to validate is a data quality definition expression. Default value is false.

Response

200 - Success.

variables

array

The list of variables in this expression. This field is set if the rule is valid (`is_valid=true`).

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to validate the data quality definition in the specified project or catalog.

trace

string

errors

array

500 - An error occurred. The data quality definitions could not be validated.

trace

string

errors

array

Get data quality definition

GET /data_quality/v3/projects/{project_id}/definitions/{id}

Gets the data quality definition with the given identifier.

Request

Response

200 - Success.

name

string

The name of the data quality definition. The name of the quality definition is unique in a given project.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

string

The expression of the data quality definition.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

id

string

Resource identifier.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality definition with the given ID from the specified project or catalog.

trace

string

errors

array

404 - The data quality definition cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality definition with the given identifier could not be returned.

trace

string

errors

array

Replace data quality definition

PUT /data_quality/v3/projects/{project_id}/definitions/{id}

Replace a data quality definition.

Request

Request Body

DataQualityDefinitionPrototype

Data quality definition to replace.

name

Required *

string

The name of the data quality definition. The name of the definition must be unique in the given project. If no unique name is provided, the REST call fails.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

Required *

string

The expression of the data quality definition.

dimension

DataQualityDimensionIdentity

Identity of a data quality dimension resource. If this property is omitted, no data quality dimension is associated with the resource.

id

Required *

string

Resource identifier.

Response

200 - Success.

name

string

The name of the data quality definition. The name of the quality definition is unique in a given project.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

string

The expression of the data quality definition.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

id

string

Resource identifier.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update data quality definitions in the specified project or catalog.

trace

string

errors

array

500 - An error occurred. The data quality definition was not updated.

trace

string

errors

array

Delete data quality definition

DELETE /data_quality/v3/projects/{project_id}/definitions/{id}

Delete the data quality definition with the given identifier.

Request

Response

204 - Success.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data quality definition from the specified project.

trace

string

errors

array

404 - The data quality definition cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality definition cannot be deleted.

trace

string

errors

array

Update data quality definition

PATCH /data_quality/v3/projects/{project_id}/definitions/{id}

Updates a data quality definition as specified in the payload details of the update definition request. The updates must be specified by using the JSON patch format, described in RFC 6902. <p> The following attributes can be patched. - name (value can only be replaced) - description (value can be added, removed, or replaced) - expression (value can only be replaced) - dimension (value can be added, removed, or replaced)

Request

Request Body

The updates to make in the data quality definition.

Response

200 - Success.

name

string

The name of the data quality definition. The name of the quality definition is unique in a given project.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

string

The expression of the data quality definition.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

id

string

Resource identifier.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update the data quality definition in the specified project.

trace

string

errors

array

404 - The data quality definition cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality definition was not updated.

trace

string

errors

array

List all data quality dimensions

GET /data_quality/v3/projects/{project_id}/dimensions

Gets the list of all data quality dimensions

Request

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

start

The start token of the resource from where the page should begin.

limit

The maximum number of resources to return.

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

dimensions

array

An array of data quality dimensions.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You are not permitted to get data quality dimensions of

the specified project.

trace

string

errors

array

500 - An error occurred. The list of data quality dimensions cannot be returned.

trace

string

errors

array

Get project settings for data quality rules

GET /data_quality/v3/projects/{project_id}/settings

Gets the project settings for data quality rules.

Request

Response

200 - Success.

default_else_value

boolean

In rules of the form "IF condition THEN test", this property indicates how data records that do not fulfil the condition have to be evaluated. If the property is not set, the data records are not counted. Otherwise, the records are counted as failing (false) or as passing (true) as defined.

ignore_trailing_spaces

boolean

In rules containing equality tests between strings, this property indicates whether the values to be tested should consider trailing spaces.

trim_char_value

boolean

This property indicates whether to trim the value of the data type char/varchar before using that value in comparison.

implicit_casting

boolean

This property indicates whether values of data quality rule variables have to be casted automatically to the type expected in the data quality rule expression.

max_string_length

integer

The maximum length of String values when executing data quality rules.

allow_partial_evaluation

boolean

In rules with multiple definitions, indicates if definitions evaluating as null (undefined) have to be considered failing (false) or passing (true).

case_sensitive_group_key

boolean

This property indicates whether group keys for aggregations in the data quality rule are case sensitive or not.

allow_quoted_variables

boolean

If set to true, a string surrounded by double quotes in an expression will be treated as a variable instead of string literal value.

heap_size

integer

The heap size in MB of the Java stages needed to implement data rules.

project_rule_output

object

Defines the output settings for rules output table in the project.

keep_combined_rules_flow

boolean

Indicator wheather to keep combined DataStage flow created using Grouping of Rules API.

remediation

DataQualitySettingsRemediation

Remediation configuration.

ai_explanation

DataQualitySettingsAIExplanation

Provides the specification of project settings for AI explanation for rules

connection_configurations

array

Configuration for connection interaction properties to be used in DataStage flows. Allows overriding properties for specific connections when used as source or target.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality rule settings in the specified project.

trace

string

errors

array

500 - An error occurred. The project settings for data quality rules could not be returned.

trace

string

errors

array

Replace project settings for data quality rules

PUT /data_quality/v3/projects/{project_id}/settings

Replace project settings for data quality rules.

Request

Request Body

DataQualitySettingsPrototype

Project settings for data quality rules.

default_else_value

boolean

In rules of the form "IF condition THEN test", this property indicates how data records that do not fulfil the condition have to be evaluated. If the property is not set, the data records are not counted. Otherwise, the records are counted as failing (false) or as passing (true) as defined.

ignore_trailing_spaces

boolean

In rules containing equality tests between strings, this property indicates whether the values to be tested should consider trailing spaces.

trim_char_value

boolean

This property indicates whether to trim the value of the data type char/varchar before using that value in comparison.

implicit_casting

boolean

This property indicates whether values of data quality rule variables have to be casted automatically to the type expected in the data quality rule expression.

max_string_length

integer

The maximum length of String values when executing data quality rules.

allow_partial_evaluation

boolean

In rules with multiple definitions, indicates if definitions evaluating as null (undefined) have to be considered failing (false) or passing (true).

case_sensitive_group_key

boolean

This property indicates whether group keys for aggregations in the data quality rule are case sensitive or not.

allow_quoted_variables

boolean

If set to true, a string surrounded by double quotes in an expression will be treated as a variable instead of string literal value.

heap_size

integer

The heap size in MB of the Java stages needed to implement data rules.

project_rule_output

object

Defines the output settings for rules output table in the project.

location

object

The output table location of the data quality rule.

create_table_only_when_issues_are_found

boolean

Indicates whether to delete tables with no records.

import_table_in_project

boolean

Indicates whether tables are imported into the project.

keep_combined_rules_flow

boolean

Indicator wheather to keep combined DataStage flow created using Grouping of Rules API.

remediation

DataQualitySettingsRemediationPrototype

Remediation configuration.

git

object

Git configuration for remediation.

ai_explanation

DataQualitySettingsAIExplanationPrototype

Provides the specification of project settings for AI explanation for rules

enabled

boolean

job

object

connection_configurations

array

Configuration for connection interaction properties to be used in DataStage flows. Allows overriding properties for specific connections when used as source or target.

Response

200 - Success.

default_else_value

boolean

In rules of the form "IF condition THEN test", this property indicates how data records that do not fulfil the condition have to be evaluated. If the property is not set, the data records are not counted. Otherwise, the records are counted as failing (false) or as passing (true) as defined.

ignore_trailing_spaces

boolean

In rules containing equality tests between strings, this property indicates whether the values to be tested should consider trailing spaces.

trim_char_value

boolean

This property indicates whether to trim the value of the data type char/varchar before using that value in comparison.

implicit_casting

boolean

This property indicates whether values of data quality rule variables have to be casted automatically to the type expected in the data quality rule expression.

max_string_length

integer

The maximum length of String values when executing data quality rules.

allow_partial_evaluation

boolean

In rules with multiple definitions, indicates if definitions evaluating as null (undefined) have to be considered failing (false) or passing (true).

case_sensitive_group_key

boolean

This property indicates whether group keys for aggregations in the data quality rule are case sensitive or not.

allow_quoted_variables

boolean

If set to true, a string surrounded by double quotes in an expression will be treated as a variable instead of string literal value.

heap_size

integer

The heap size in MB of the Java stages needed to implement data rules.

project_rule_output

object

Defines the output settings for rules output table in the project.

keep_combined_rules_flow

boolean

Indicator wheather to keep combined DataStage flow created using Grouping of Rules API.

remediation

DataQualitySettingsRemediation

Remediation configuration.

ai_explanation

DataQualitySettingsAIExplanation

Provides the specification of project settings for AI explanation for rules

connection_configurations

array

Configuration for connection interaction properties to be used in DataStage flows. Allows overriding properties for specific connections when used as source or target.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to define project settings for data quality rules in the specified project.

trace

string

errors

array

500 - An error occurred. The project settings for data quality rules were not created or updated.

trace

string

errors

array

Get data quality rule from catalog

GET /data_quality/v3/catalogs/{catalog_id}/rules/{id}

Gets the data quality rule from catalog with the given identifier.

Request

Response

200 - Success.

name

string

The name of the data quality rule. The name of the quality rule will be unique in a given project.

description

string

The description of the data quality rule. If this property is omitted, no description is set.

description_ai_generated

boolean

Indicates whether the description of the rule is AI generated or not.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

apply_all_present_dimensions

boolean

Flag indicating whether the rule contributes to all dimensions that are defined in the data quality definitions used in this rule. If the value of this field is set to true, then `dimension` will be ignored.

input

DataQualityRuleInput

Data quality rule input details.

output

DataQualityRuleOutput

The output details of a data quality rule.

joins

array

The joins between data assets referenced in bindings and output. This property is not required if the rule is to be run on a single data asset. This property is also not required if a `data_stage` element is provided.

sampling

DataQualityRuleSampling

The sampling options to be used during data quality rule run. If no sampling options are set, the rule is run against all the rows of the source.

data_stage

DataQualityRuleDataStage

Data stage flow details.

id

string

Resource identifier.

is_valid

boolean

Flag indicating whether the rule is valid or not.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality rule with the given identifier from the specified catalog.

trace

string

errors

array

404 - The data quality rule cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality rule with the given identifier cannot be returned.

trace

string

errors

array

Get data quality definition from catalog

GET /data_quality/v3/catalogs/{catalog_id}/definitions/{id}

Gets the data quality definition from catalog with the given identifier.

Request

Response

200 - Success.

name

string

The name of the data quality definition. The name of the quality definition is unique in a given project.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

string

The expression of the data quality definition.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

id

string

Resource identifier.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality definition with the given ID from the specified project or catalog.

trace

string

errors

array

404 - The data quality definition cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality definition with the given identifier could not be returned.

trace

string

errors

array

Update data quality definition in catlog

PATCH /data_quality/v3/catalogs/{catalog_id}/definitions/{id}

Updates a data quality definition as specified in the payload details of the update definition request. The updates must be specified by using the JSON patch format, described in RFC 6902. <p> The following attributes can be patched. - dimension (value can be added, removed, or replaced)

Request

Request Body

The updates to make in the data quality definition.

Response

200 - Success.

name

string

The name of the data quality definition. The name of the quality definition is unique in a given project.

description

string

The description of the data quality definition. If this property is omitted, no description is set.

expression

string

The expression of the data quality definition.

dimension

DataQualityDimensionReference

Identity of a data quality dimension resource.

id

string

Resource identifier.

href

string

The location URL of a resource.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update the data quality definition in the specified catalog.

trace

string

errors

array

404 - The data quality definition cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality definition was not updated.

trace

string

errors

array

Get data quality assets

GET /data_quality/v4/assets

Get a list of data quality assets.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.assets.read

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

start

The start token of the resource from where the page should begin. If omitted, begins with first resource.

limit

The maximum number of resources to return.

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

type

The type of the resource to search. If omitted, filtering on type is not applied

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

assets

array

An array of data quality assets.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the list of data quality assets.

trace

string

errors

array

500 - An error occurred. The list of data quality assets cannot be returned.

trace

string

errors

array

Create Data quality assets

POST /data_quality/v4/assets

Create a data quality asset.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.assets.create

Request

Request Body

DataQualityAssetPrototype

Data quality asset to create.

name

Required *

string

Name of a data quality resource.(Name need not be unique)

parent

DataQualityAssetIdentity

The Id of an eventual parent, or null if this asset has no parent

native_id

Required *

string

Unique identifier set by the creator of the resource

wkc_asset_type

string

The type of the IBM Knowledge Catalog asset

wkc_asset_id

string

The identity of the IBM Knowledge Catalog asset this DQ asset is referring to

wkc_container_id

string

The identity of the IBM Knowledge Catalog container (either project/catalog/space) this asset belongs to.

virtualized_asset

DataQualityAssetIdentity

If specified, indicates that this asset is the virtualization of another asset whose id is specified in this field

type

Required *

string

The type of the data quality resource

string

Link to corresponding data quality component. No default link is available, it is empty if not provided.

weight

Required *

number

The weight of this asset in the computation of the data quality scores

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

Response

201 - Success

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

400 - The given payload is invalid and the asset is not created.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to create a data quality asset.

trace

string

errors

array

409 - The data quality asset exists already and cannot be created.

trace

string

errors

array

500 - An error occurred. The data quality asset cannot be created.

trace

string

errors

array

Get a data quality asset

GET /data_quality/v4/assets/{id}

Get the data quality asset with the given identifier.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.assets.read

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality asset.

trace

string

errors

array

404 - The data quality asset with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality asset cannot be returned.

trace

string

errors

array

Delete data quality asset

DELETE /data_quality/v4/assets/{id}

Delete the data quality asset with the given identifier and all its children recursively

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.assets.delete

Auditing

Calling this method generates the following auditing event.

  • wdp-data_quality.issue.delete

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

delete_children

boolean

If true, delete all children recursively. Otherwise, only selected one is deleted.

Response

204 - Success.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data quality asset.

trace

string

errors

array

404 - The data quality asset cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality asset cannot be deleted.

trace

string

errors

array

Update or patch a data quality asset

PATCH /data_quality/v4/assets/{id}

Update a data quality asset as specified in the payload details of the request.

The updates must be specified by using the JSON patch format, described in RFC 6902. <p> The following attributes can be updated: - /name (value can only be replaced) - /weight (value can only be replaced)

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.assets.update

Request

Request Body

The updates to make in the data quality rule.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update the data quality asset.

trace

string

errors

array

404 - The data quality asset with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality asset cannot be updated.

trace

string

errors

array

Search data quality asset with given native id and type

POST /data_quality/v4/search_dq_asset

Search for a data quality asset by its native id and type

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.assets.read

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

native_id

The native id, as known by the DQ producer, of the resource to search. If not provided, other identity parameters must be provided.

type

The type of the resource to search. If omitted, filtering on type is not applied

wkc_asset_id

The identity of the IBM Knowledge Catalog asset this DQ asset is referring to

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

get_actual_asset

boolean

If true look for only actual wkc asset, otherwise look for shared set.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to search data quality assets.

trace

string

errors

array

404 - The data quality asset cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality asset cannot be searched.

trace

string

errors

array

Get data quality checks

GET /data_quality/v4/checks

Get a list of data quality checks.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.checks.read

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

asset.native_id

The asset native id, as known by the DQ producer, of the resource to search.

asset.id

The data quality asset identifier

start

The start token of the resource from where the page should begin. If omitted, begins with first resource.

limit

The maximum number of resources to return.

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

type

The type of the resource to search. If omitted, filtering on type is not applied

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

checks

array

An array of data quality checks.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the list of data quality checks.

trace

string

errors

array

500 - An error occurred. The list of data quality checks cannot be returned.

trace

string

errors

array

Create data quality checks

POST /data_quality/v4/checks

Create a data quality check.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.checks.create

Request

Request Body

DataQualityCheckPrototype

Data quality check to create.

dimension

Required *

DataQualityDimensionReference1

the dimension this check belongs to

id

Required *

string

Resource identifier.

name

Required *

string

Name of a data quality resource.(Name need not be unique)

native_id

Required *

string

Unique identifier set by the creator of the resource

parent

DataQualityCheckIdentity

The Id of an eventual parent, or null if this check has no parent

type

Required *

string

The type of the data quality resource

string

Link to corresponding data quality component. No default link is available, it is empty if not provided.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

Response

201 - Success

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

400 - The given payload is invalid and the check is not created.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to create a data quality check.

trace

string

errors

array

409 - The data quality check exists already and cannot be created.

trace

string

errors

array

500 - An error occurred. The data quality check cannot be created.

trace

string

errors

array

Get a data quality check

GET /data_quality/v4/checks/{id}

Get the data quality check with the given identifier.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.checks.read

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality check.

trace

string

errors

array

404 - The data quality check with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality check cannot be returned.

trace

string

errors

array

Delete a data quality check

DELETE /data_quality/v4/checks/{id}

Delete the data quality check with the given identifier and all its children recursively

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.checks.delete

Auditing

Calling this method generates the following auditing event.

  • wdp-data_quality.issue.delete

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

delete_children

boolean

If true, delete all children recursively. Otherwise, only selected one is deleted.

Response

204 - Success.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data quality check.

trace

string

errors

array

404 - The data quality check cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality check cannot be deleted.

trace

string

errors

array

Update or patch a data quality check

PATCH /data_quality/v4/checks/{id}

Update a data quality check as specified in the payload details of the request.

The updates must be specified by using the JSON patch format, described in RFC 6902. <p> The following attributes can be updated: - /name (value can only be replace) - /dimension/id (value can be add, remove or replace) - /details (value can be add, remove or replace)

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.checks.update

Request

Request Body

The updates to make in the data quality rule.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update the data quality check.

trace

string

errors

array

404 - The data quality check with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality check cannot be updated.

trace

string

errors

array

Search for a data quality check by its native id and type

POST /data_quality/v4/search_dq_check

Search for a data quality check by its native id and type

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.checks.read

Request

Path Parameters

Query Parameters

native_id

Required *

The native id, as known by the DQ producer, of the resource to search.

type

Required *

The type of the resource to search.

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to search data quality checks.

trace

string

errors

array

404 - The data quality check cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality check cannot be searched.

trace

string

errors

array

Get a list of data quality dimensions

GET /data_quality/v4/dimensions

Get a list of data quality dimensions.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.dimensions.read

Request

Path Parameters

Query Parameters

start

The start token of the resource from where the page should begin. If omitted, begins with first resource.

limit

The maximum number of resources to return.

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

dimensions

array

An array of data quality dimensions.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the list of data quality dimensions.

trace

string

errors

array

500 - An error occurred. The list of data quality dimensions cannot be returned.

trace

string

errors

array

Create a data quality dimension

POST /data_quality/v4/dimensions

Create a data quality dimension.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.dimensions.create

Request

Request Body

DataQualityDimensionPrototype

Data quality dimension to create.

name

Required *

string

Name of a data quality resource.(Name need not be unique)

description

string

The optional description of the dimension. Provide a description to understand the reason for its existence.

Response

201 - Success

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

name

string

Name of a data quality resource.(Name need not be unique)

description

string

The optional description of the dimension. Provide a description to understand the reason for its existence.

is_default

boolean

Flag indicating whether the dimension is a built-in dimension or not.

400 - The given payload is invalid and the dimension is not created.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to create a data quality dimension.

trace

string

errors

array

409 - The data quality dimension exists already and cannot be created.

trace

string

errors

array

500 - An error occurred. The data quality dimension cannot be created.

trace

string

errors

array

Get the data quality dimension with the given identifier

GET /data_quality/v4/dimensions/{id}

Get the data quality dimension with the given identifier.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.dimensions.read

Request

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

name

string

Name of a data quality resource.(Name need not be unique)

description

string

The optional description of the dimension. Provide a description to understand the reason for its existence.

is_default

boolean

Flag indicating whether the dimension is a built-in dimension or not.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality dimension.

trace

string

errors

array

404 - The data quality dimension with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality dimension cannot be returned.

trace

string

errors

array

Delete the data quality dimension with the given identifier.

DELETE /data_quality/v4/dimensions/{id}

Delete the data quality dimension with the given identifier. <p> All data quality checks associated to this dimension will point to no dimension. All DQ scores stored for this dimension will be deleted

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.dimensions.delete

Request

Response

204 - Success.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data quality dimension.

trace

string

errors

array

404 - The data quality dimension cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality dimension cannot be deleted.

trace

string

errors

array

Update a data quality dimension

PATCH /data_quality/v4/dimensions/{id}

Update a data quality dimension as specified in the payload details of the request.

The updates must be specified by using the JSON patch format, described in RFC 6902. <p> The following attributes can be updated: - /name (value can only be replaced) - /description (value can be added, removed, or replaced)

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.dimensions.update

Request

Request Body

The updates to make in the data quality rule.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

name

string

Name of a data quality resource.(Name need not be unique)

description

string

The optional description of the dimension. Provide a description to understand the reason for its existence.

is_default

boolean

Flag indicating whether the dimension is a built-in dimension or not.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update the data quality dimension.

trace

string

errors

array

404 - The data quality dimension with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality dimension cannot be updated.

trace

string

errors

array

Search for data quality dimensions by name or part of their names

POST /data_quality/v4/search_dq_dimension

Search for data quality dimensions by name or part of their names

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.dimensions.read

Request

Path Parameters

Query Parameters

name

Required *

The name of the resource to search or a part of the name of the resources to search.

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

dimensions

array

An array of data quality dimensions.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to search data quality dimensions.

trace

string

errors

array

500 - An error occurred. The data quality dimension cannot be searched.

trace

string

errors

array

Get a list of data quality issues

GET /data_quality/v4/issues

Get a list of data quality issues.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.issues.read

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

start

The start token of the resource from where the page should begin. If omitted, begins with first resource.

limit

The maximum number of resources to return.

reported_for.id

Comma-separated list of data quality asset identifier to search issues of. If not provided, filtering on asset is not applied.

check.id

Comma-separated list of data quality check id identifier to search issues of. If not provided, filtering on a check is not applied.

check.native_id

Comma-separated list of data quality check native id identifier to search issues of. If not provided, filtering on a check is not applied. Only one of checkId or checkNativeId should be provided; if both are provided, an error will be thrown.

check.name

The name or part of the name of data quality check identifier to search issues of. If not provided, filtering on name of check is not applied.

check.dimension.id

Comma-separated list of data quality dimension identifiers.

latest_only

boolean

If true, returns only the latest issue summary of each DQ check. If false, returns the latest and archived issues.

type

The type of the resource to search. If omitted, filtering on type is not applied

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

sort_by

string

The issue attribute to sort on. If omitted, sorting on last update time is applied

sort_direction

string

The direction to sort with. If omitted, sorting attribute descending is applied

Response

200 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

issues

array

An array of data quality issues.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the list of data quality issues.

trace

string

errors

array

500 - An error occurred. The list of data quality issues cannot be returned.

trace

string

errors

array

Create a data quality issue

POST /data_quality/v4/issues

Create a data quality issue.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.issues.create

Auditing

Calling this method generates the following auditing event.

  • wdp-data_quality.issue.create

Request

Request Body

DataQualityIssuePrototype

Data quality issue to create.

check

Required *

DataQualityCheckIdentity

the check that produces this issue

reported_for

Required *

DataQualityAssetIdentity

The Id of the asset on which this issue was found

string

Link to corresponding data quality component. No default link is available, it is empty if not provided.

number_of_occurrences

integer

The absolute number of occurrences of the issues which have been identified on the asset. If this is missing, percent_occurrences must be provided.

number_of_tested_records

integer

The total number of records which have been tested by the Data Quality Check. If this is missing, percent_occurrences must be provided.

percent_occurrences

number

The relative frequency of the issue (percentage of tested records having the issue), as a number between 0.0 and 1.0. If omitted, it is calculated using number_of_occurrences and number_of_tested_records.

status

string

The status of the issue.

ignored

Required *

boolean

Flag indicating whether the issue is ignored or not.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

incremental_reporting

boolean

Defines whether issues should be incrementally reported.

Response

201 - Success

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

400 - The given payload is invalid and the issue is not created.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to create a data quality issue.

trace

string

errors

array

409 - The data quality issue exists already and cannot be created.

trace

string

errors

array

500 - An error occurred. The data quality issue cannot be created.

trace

string

errors

array

Get the data quality issue with the given identifier

GET /data_quality/v4/issues/{id}

Get the data quality issue with the given identifier.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.issues.read

Request

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the data quality issue.

trace

string

errors

array

404 - The data quality issue with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality issue cannot be returned.

trace

string

errors

array

Update a data quality issue as specified in the payload details

of the request.

PATCH /data_quality/v4/issues/{id}

Update a data quality issue as specified in the payload details of the request.

The updates must be specified by using the JSON patch format, described in RFC 6902. <p> The following attributes can be updated: - /ignored (value can only be replaced)

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.issues.update

Auditing

Calling this method generates the following auditing event.

  • wdp-data_quality.issue.update

Request

Request Body

The updates to make in the data quality rule.

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to update the data quality issue.

trace

string

errors

array

404 - The data quality issue with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality issue cannot be updated.

trace

string

errors

array

Search for a data quality issue by its native id

POST /data_quality/v4/search_dq_issue

Search for a data quality issue by its native id

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.issues.read

Request

Path Parameters

Query Parameters

reported_for.id

Required *

The data quality asset identifier

check.id

Required *

The data quality check identifier to search issues of.

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

Response

200 - Success.

id

string

Resource identifier.

account_id

string

The BSS account ID that the resource belongs to. On a private cloud instance, account_id will not be available.

creator_id

string

The IBM cloud IAM user id that created this data quality resource.

created_at

string

The creation time.

updater_id

string

The IBM cloud IAM user id that last modified this data quality resource.

updated_at

string

The last update time. If omitted, this is set to the time of update.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to search data quality issues.

trace

string

errors

array

404 - The data quality issue cannot be found.

trace

string

errors

array

500 - An error occurred. The data quality issue cannot be searched.

trace

string

errors

array

Create several data quality issues

POST /data_quality/v4/create_issues

Create several data quality issues. The related DQ assets referenced by their native ID are created if they do not already exist.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.issues.create

Auditing

Calling this method generates the following auditing event.

  • wdp-data_quality.issue.bulk.create

Request

Request Body

DataQualityIssuesBatchPrototype

Data quality issues to create and their related DQ assets.

issues

Required *

array

list of issues to create.

assets

array

Optional list of assets to create. For each of these assets the system will check if an asset with the same native_id exists. If yes, it will ignore it, if not it will create it

existing_checks

array

Optional list of existing checks. For each pair of (asset, check) given, system will create, update or remove an issue depending on the current issue stored for this pair and the new issue given in the payload (or not for deletion).

Path Parameters

Query Parameters

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

incremental_reporting

boolean

If true, adds archived issue counts to new issues instead of replacing them. This allows for cumulative reporting across multiple runs. If false or not specified, new issues replace archived ones with fresh counts.

refresh_assets

boolean

If true, the assets will be refreshed, and any assets not present in the updated list will be deleted from the database. If false, no action will be taken.

Response

201 - Success.

limit

integer

The maximum number of resources to return.

total_count

integer

Total number of resources available.

first

DataQualityPageLink

The link to a page in paginated collection.

next

DataQualityPageLinkToken

The link to a page in paginated collection.

previous

DataQualityPageLinkToken

The link to a page in paginated collection.

issues

array

An array of data quality issues.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to create data quality issues.

trace

string

errors

array

500 - An error occurred. The data quality issues cannot be created.

trace

string

errors

array

Get a list of data quality scores for a given asset

GET /data_quality/v4/scores

Get a list of data quality scores for a given asset.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.scores.create

Request

Path Parameters

Query Parameters

asset.id

Required *

The data quality asset identifier

catalog_id

string

The ID of the catalog to use. A catalog_id or project_id is required.

project_id

string

The ID of the project to use. A catalog_id or project_id is required.

dimension.id

The data quality dimension identifier. If not provided, filtering on dimension is not applied.

include_children

boolean

If true include the children in the returned resource. If false, only return the resource without its eventual children.

score_older_by_days

integer

Query for scores older than the given number of days

limit

integer

Total history of scores required

Response

200 - Success.

total_count

integer

Total number of scores available.

asset

DataQualityAssetInfo

Information of asset.

scores

array

An array of data quality scores.

children

array

An array of data quality scores.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to get the list of data quality scores.

trace

string

errors

array

500 - An error occurred. The list of data quality scores cannot be returned.

trace

string

errors

array

Validate data contract against ODCS schema

POST /data_quality/v4/projects/{project_id}/data_contracts_validation

Validates a data contract (JSON or YAML format) against the Open Data Contract Standard (ODCS) JSON schema. Returns a validation response indicating whether the contract is valid and provides detailed error information if validation fails. Note that HTTP 200 indicates the validation process completed successfully, not that the data contract is valid - check the 'valid' field in the response body to determine contract validity.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontract.validate

Request

Request Body

DataQualityDataContractValidationRequest

The data contract content to validate. Can be provided in JSON or YAML format. The content will be validated against the ODCS (Open Data Contract Standard) schema.

data_contract_content

Required *

string

Data contract content in JSON format

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

Response

200 - Validation completed successfully. Check the 'valid' field in the response body to determine if the data contract is valid. If 'valid' is false, the 'errors' array will contain detailed validation error information.

valid

boolean

Indicates whether the data contract is valid according to the ODCS schema. True if validation passed with no errors, false otherwise.

errors

array

List of validation errors found in the data contract. Empty array if the contract is valid.

error_count

integer

The total number of validation errors found

400 - Bad request. The provided data contract content is malformed, empty, or cannot be parsed as valid JSON or YAML. Ensure the content is well-formed and in a supported format (JSON or YAML).

trace

string

errors

array

500 - Internal server error. An unexpected error occurred during the validation process, such as schema loading failure or internal validation engine errors. This is not a validation failure of the data contract itself.

trace

string

errors

array

List data contracts in the project

GET /data_quality/v4/projects/{project_id}/data_contracts

Retrieves list of all data contracts in the specified project.

Data contracts are CAMS (Common Asset Management Service) assets that define schema-level and column-level quality rules for data assets. Each data contract includes metadata, entity information, and optional attachments.

The response includes complete data contract information including:

  • Asset metadata (ID, name, timestamps, ownership)
  • Contract entity with server mappings
  • Attachment references
  • Location URL where the asset is created

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.read

Request

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

limit

integer

The maximum number of data contracts to return.

Response

200 - Success. Returns a list of data contracts in the specified project.

Each data contract includes:

  • metadata: Asset metadata including ID, name, description, timestamps, and ownership information
  • entity: The data contract entity containing server mappings and contract details
  • href: Location URL where the asset is created

data_contracts

array

Array of data contract objects

total_count

integer

Total number of data contracts in the catalog

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to retrieve data contracts in this project.

trace

string

errors

array

404 - The project with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data contracts cannot be retrieved.

trace

string

errors

array

Create data contract

POST /data_quality/v4/projects/{project_id}/data_contracts

Creates a new data contract. This API receives the project ID and the ODCS json or yaml content and creates the contract. Set `validate=false` to skip validation of the data contract before create.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.read

Request

Request Body

DataQualityDataContractPrototype

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

validate

boolean

If false, skips validation of the data contract before create.

Response

201 - Success.

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

400 - The given payload is invalid and the data contract asset is not created.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

500 - An error occurred. The data contract cannot be created.

trace

string

errors

array

Delete data contracts

DELETE /data_quality/v4/projects/{project_id}/data_contracts

Deletes one or more data contracts by their identifiers (comma-separated). This operation removes the data contract assets from CAMS and deletes all related records from the PostgreSQL database. All specified contracts must exist and the user must have delete permissions for all of them.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.delete

Request

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

data_contract_ids

Required *

string

Comma-separated list of data contract identifiers to delete

Response

204 - Success. Data contracts deleted successfully.

400 - Invalid request. The data_contract_ids parameter is missing or malformed.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to delete the data contracts.

trace

string

errors

array

404 - One or more data contracts with the given IDs cannot be found.

trace

string

errors

array

500 - An error occurred. The data contracts cannot be deleted.

trace

string

errors

array

Upload data contract file

POST /data_quality/v4/projects/{project_id}/data_contracts_upload

Uploads a data contract file (YAML or JSON format) and creates a new data contract or updates an existing one. The file content will be parsed and validated before creating/updating the contract unless `validate=false`. Server mappings must be provided as a JSON string in the request body. If data_contract_id is provided, the existing contract will be updated; otherwise, a new contract will be created.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.create
  • dataquality.datacontracts.update

Request

Request Body

Path Parameters

project_id

Required *

The identifier of the project to use.

Query Parameters

Response

200 - Success. Data contract updated from uploaded file (when data_contract_id is provided).

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

201 - Success. Data contract created from uploaded file (when data_contract_id is not provided).

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

400 - The uploaded file is invalid or cannot be parsed, or the data_contract_id is invalid.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

404 - The data contract with the specified data_contract_id cannot be found (when updating).

trace

string

errors

array

413 - The uploaded file is too large.

trace

string

errors

array

415 - The uploaded file type is not supported. Only YAML and JSON files are accepted.

trace

string

errors

array

500 - An error occurred. The data contract cannot be created or updated from the uploaded file.

trace

string

errors

array

List data contracts in the catalog

GET /data_quality/v4/catalogs/{catalog_id}/data_contracts

Retrieves list of all data contracts in the specified catalog.

Data contracts are CAMS (Common Asset Management Service) assets that define schema-level and column-level quality rules for data assets. Each data contract includes metadata, entity information, and optional attachments.

The response includes complete data contract information including:

  • Asset metadata (ID, name, timestamps, ownership)
  • Contract entity with server mappings
  • Attachment references
  • Location URL where the asset is created

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.read

Request

Path Parameters

catalog_id

Required *

The identifier of the catalog to use.

Query Parameters

limit

integer

The maximum number of data contracts to return.

Response

200 - Success

data_contracts

array

Array of data contract objects

total_count

integer

Total number of data contracts in the catalog

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

500 - An error occurred. The data contracts cannot be retrieved.

trace

string

errors

array

Create data contract in catalog

POST /data_quality/v4/catalogs/{catalog_id}/data_contracts

Creates a new data contract in a catalog. This API receives the catalog ID and the ODCS json or yaml content and creates the contract. Set `validate=false` to skip validation of the data contract before create.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.read

Request

Request Body

DataQualityDataContractPrototype

Path Parameters

catalog_id

Required *

The identifier of the catalog to use.

Query Parameters

validate

boolean

If false, skips validation of the data contract before create.

Response

201 - Success.

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

400 - The given payload is invalid and the data contract asset is not created.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

500 - An error occurred. The data contract cannot be created.

trace

string

errors

array

Delete data contracts from catalog

DELETE /data_quality/v4/catalogs/{catalog_id}/data_contracts

Deletes one or more data contracts from the specified catalog. Multiple contract IDs can be provided as a comma-separated list. All specified contracts will be deleted in a single operation.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.delete

Request

Path Parameters

catalog_id

Required *

The identifier of the catalog to use.

Query Parameters

data_contract_ids

Required *

string

Comma-separated list of data contract IDs to delete. Multiple IDs can be provided to delete multiple contracts in a single request.

Response

204 - Success. Data contracts deleted successfully.

400 - Invalid request. The data_contract_ids parameter is missing, empty, or contains invalid IDs.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

404 - One or more data contracts with the specified IDs cannot be found.

trace

string

errors

array

500 - An error occurred. The data contracts cannot be deleted.

trace

string

errors

array

Upload data contract file to catalog

POST /data_quality/v4/catalogs/{catalog_id}/data_contracts_upload

Uploads a data contract file (YAML or JSON format) to a catalog and creates a new data contract or updates an existing one. The file content will be parsed and validated before creating/updating the contract unless `validate=false`. Server mappings must be provided as a JSON string in the request body. If data_contract_id is provided, the existing contract will be updated; otherwise, a new contract will be created.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.create
  • dataquality.datacontracts.update

Request

Request Body

Path Parameters

catalog_id

Required *

The identifier of the catalog to use.

Query Parameters

Response

200 - Success. Data contract updated from uploaded file (when data_contract_id is provided).

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

201 - Success. Data contract created from uploaded file (when data_contract_id is not provided).

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

400 - The uploaded file is invalid or cannot be parsed, or the data_contract_id is invalid.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

404 - The data contract with the specified data_contract_id cannot be found (when updating).

trace

string

errors

array

413 - The uploaded file is too large.

trace

string

errors

array

415 - The uploaded file type is not supported. Only YAML and JSON files are accepted.

trace

string

errors

array

500 - An error occurred. The data contract cannot be created or updated from the uploaded file.

trace

string

errors

array

Validate data contract content for catalog

POST /data_quality/v4/catalogs/{catalog_id}/data_contracts_validation

Validates a data contract YAML or JSON content against the ODCS schema without creating the contract in the catalog. This endpoint is useful for pre-validation before creating or updating a data contract. The validation checks: - YAML/JSON syntax correctness - Compliance with ODCS data contract schema - Required fields presence - Data type correctness - Schema structure validity

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.read

Request

Request Body

Path Parameters

catalog_id

Required *

The identifier of the catalog to use.

Query Parameters

Response

200 - Validation successful. The data contract content is valid.

valid

boolean

Indicates whether the data contract is valid according to the ODCS schema. True if validation passed with no errors, false otherwise.

errors

array

List of validation errors found in the data contract. Empty array if the contract is valid.

error_count

integer

The total number of validation errors found

400 - Validation failed. The data contract content is invalid.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

500 - An error occurred during validation.

trace

string

errors

array

Get data contract from catalog

GET /data_quality/v4/catalogs/{catalog_id}/data_contracts/{data_contract_id}

Retrieves a specific data contract from the catalog by its ID. Returns complete data contract information including: - Asset metadata (ID, name, description, timestamps) - Contract entity with server mappings and schema definitions - Attachment references - Ownership and collaboration details

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.read

Request

Response

200 - Success

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

404 - The data contract with the specified ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data contract cannot be retrieved.

trace

string

errors

array

Replace data contract in catalog

PUT /data_quality/v4/catalogs/{catalog_id}/data_contracts/{data_contract_id}

Replaces an existing data contract in the catalog with new content. This is a full replacement operation - all previous contract data will be overwritten. Set `validate=false` to skip validation of the data contract before replace. Use this endpoint when you need to completely update a data contract with new specifications. For partial updates, consider deleting and recreating the contract.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.update

Request

Request Body

DataQualityDataContractPrototype

Path Parameters

Query Parameters

validate

boolean

If false, skips validation of the data contract before replace.

Response

200 - Success. Data contract replaced successfully.

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

400 - The given payload is invalid and the data contract is not updated.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

404 - The data contract with the specified ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data contract cannot be replaced.

trace

string

errors

array

Get data contract

GET /data_quality/v4/projects/{project_id}/data_contracts/{data_contract_id}

Retrieves a specific data contract by its identifier. Returns the complete data contract including its content and metadata.

Authorization

To call this method, you must be assigned one or more IAM access roles that include the following action.

  • dataquality.datacontracts.read

Request

Path Parameters

project_id

Required *

The identifier of the project to use.

data_contract_id

Required *

The data contract identifier

Query Parameters

Response

200 - Success. Data contract retrieved successfully.

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

403 - You do not have permission to retrieve the data contract.

trace

string

errors

array

404 - The data contract with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data contract cannot be retrieved.

trace

string

errors

array

Update data contract

PUT /data_quality/v4/projects/{project_id}/data_contracts/{data_contract_id}

Updates a contract as a whole. Set `validate=false` to skip validation of the data contract before replace.

Request

Request Body

DataQualityDataContractPrototype

Path Parameters

project_id

Required *

The identifier of the project to use.

data_contract_id

Required *

The identifier of the data contract to use

Query Parameters

validate

boolean

If false, skips validation of the data contract before replace.

Response

200 - Success.

id

string

The identity of the IBM Knowledge Catalog asset this Data contract asset is referring to

name

string

The name of the CAMS asset that this Data Contract asset is referring to

contract_yaml

string

The contract content as YAML, represented as a string. Provide either this or `contract_json`, not both.

contract_json

object

The contract content as JSON object. Provide either this or `contract_yaml`, not both.

server_mappings

array

List of server mapping objects. Optional mappings of contract servers to connection identifiers.

400 - The given payload is invalid and the data contract asset is not updated.

trace

string

errors

array

401 - Your authorization to access this method is missing, invalid, or expired.

trace

string

errors

array

404 - The data contract with the given ID cannot be found.

trace

string

errors

array

500 - An error occurred. The data contract cannot be created.

trace

string

errors

array

Creates a category in the glossary

POST /v3/categories

This method can be used to create a new category in the glossary.

Request

Request Body

GlossaryNewCategoryEntity

classifications

array

Relationships to classifications.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

long_description

string

The long description of an artifact.

name

Required *

string

The name of the artifact.

parent_category_id

string

Artifact ID of a parent category

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

reporting_authorized

boolean

Used by reporting service for authorization. Can be set only for root level categories.

response_custom_relationships

array

Custom relationships to asset

short_description

string

The short description of an artifact.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

Response

201 - The category has been created successfully.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

409 - UniqueConstraintViolation - category with given name and parent already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Start category boostrap process

POST /v3/categories/collaborators/bootstrap

Assigns default owners and view permissions for root categories without any role assignments set

Request

Response

202 - The boostrap process started successfully

completed_records

integer

Number of records already bootstrapped successfully

completion_message

string

Overall outcome of the bootstrap process. Set once bootstrapping is finished.

current_step

string

Current bootstrap activity

errors

array

Bootstrap process errors

status

string

Current bootstrap status

total_records

integer

Total number of records to be processed by the bootstrap process

400 - The boostrap is already in progress

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get status of category bootstrap process

GET /v3/categories/collaborators/bootstrap/status

Get status of category bootstrap process

Request

Response

200 - Bootstrap status fetched successfully

completed_records

integer

Number of records already bootstrapped successfully

completion_message

string

Overall outcome of the bootstrap process. Set once bootstrapping is finished.

current_step

string

Current bootstrap activity

errors

array

Bootstrap process errors

status

string

Current bootstrap status

total_records

integer

Total number of records to be processed by the bootstrap process

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get history status of category bootstrap process

GET /v3/categories/collaborators/bootstrap/status/history

Get history status of category bootstrap process

Request

Response

200 - Bootstrap status history fetched successfully

bootstrap_status_history

array

Bootstrap status history list

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves category hierarchy paths for given artifact ids of categories

GET /v3/categories/hierarchy

This method can be used for retrieving hierarchy paths of categories

Request

Path Parameters

Query Parameters

category_id

array

The id of the category whose path is fetched

Response

200 - The hierarchy paths of categories have been retrieved successfully

category_hierarchy_paths

array

IDs and names of categories in category hierarchy path for each category id

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The category with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves category hierarchy paths for given artifact ids of categories

POST /v3/categories/hierarchy

This method can be used for retrieving hierarchy paths of categories

Request

Request Body

GlossaryGlossaryResourceList

resources

array

List of resources.

Path Parameters

Query Parameters

limit

integer

The maximum number of categories to return - must be at least 1 and cannot exceed 1000. The default value is 10.

offset

integer

The index of the first matching category to include in the result.

Response

200 - The hierarchy paths of categories have been retrieved successfully

category_hierarchy_paths

array

IDs and names of categories in category hierarchy path for each category id

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves the special [uncategorized] category

GET /v3/categories/uncategorized

This method can be used for retrieving details of the special [uncategorized] category, which is a default one for all artifacts.

Request

Response

200 - The category has been retrieved successfully.

entity

GlossaryCategoryEntity

Represents a category.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes the category with a given guid

DELETE /v3/categories/{category_id}

This method can be used to delete a category.<br>Note! The category must be empty. It can contain neither child categories nor artifacts.

Request

Path Parameters

category_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

Response

200 - The category has been deleted successfully.

archived_guids

array

Guids of the archived objects.

delete_guids

array

Guids of the deleted objects.

updated_guids

array

Guids of the updated objects.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The category with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves category with given guid

GET /v3/categories/{category_id}

This method can be used for retrieving details of a category.

Request

Path Parameters

category_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

include_relationships

boolean

When set to true fetch category relationships user has access to. It returns at most 1000 relationships. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.<br/>Deprecated, functionality will be replaced by new one introduced in the future releases.

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

Response

200 - The category has been retrieved successfully.

entity

GlossaryCategoryEntity

Represents a category.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The category with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates category with given id

PATCH /v3/categories/{category_id}

This method can be used to update a category with given id.<br>It may be an update of its name, description, etc..

Request

Request Body

GlossaryUpdatableCategoryEntity

Category to be updated.<br>Fields omitted will be unchanged, and fields set to null explicitly will be nulled out.<br>For multi-valued attributes & relationships, the complete list will be replaced by the given list of values.<br>Additional Example:<br><pre>{&quot;description&quot; : &quot;short desc updated&quot;}</pre>

classifications

array

Relationships to classifications.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

long_description

string

The long description of an artifact.

name

string

The name of the artifact.

parent_category_id

string

Artifact ID of a parent category. This is read only property and should not be changed.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

reporting_authorized

boolean

Used by reporting service for authorization. Can be set only for root level categories.

response_custom_relationships

array

Custom relationships to asset

short_description

string

The short description of an artifact.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

Path Parameters

category_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

Response

200 - The category has been updated successfully.

entity

GlossaryCategoryEntity

Represents a category.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The category with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

409 - The category was modified by another user.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Removes an artifact from its secondary category

DELETE /v3/categories/{category_id}/artifacts/{artifact_id}

It can be used to remove a secondary category assignment for an artifact. It does not allow to remove an artifact from a primary category as a primary category assignment is obligatory.

Request

Path Parameters

category_id

Required *

string

The artifact ID or the global ID of a category

artifact_id

Required *

string

The artifact ID or the global ID of an artifact to be removed from a (secondary) category

Query Parameters

Response

204 - A secondary category assignment removed.

400 - Attempt to remove an artifact from its primary category failed, because a primary category assignment is mandatory.

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The category with the given {category_id} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves collaborators for given artifact id of a category

GET /v3/categories/{category_id}/collaborators

Single collaborator is an users with assigned roles in context of given category. A role comes with rights to access the category, its sub-categories and artifacts and potential responsibilities.

Request

Path Parameters

category_id

Required *

string

The artifact ID or the global ID of a category

Query Parameters

include_inherited

boolean

If this parameter is true, the returned list contains collaborators not only for given category, but also for all parent categories, up to root category.

role

array

If set then the returned list will be reduced to collaborators with given roles only. Maximum allowed number of roles is 100

Response

200 - Success

collaborators

array

Category permission list for given category id

total_results

integer

Number of category permissions

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The category with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates single collaborator for given category

POST /v3/categories/{category_id}/collaborators

To create collaborator one needs to provide id of the collaborating user and the name of the role he will be permitted. Collaborator is effective for given category and whole tree of its subcategories.

Request

Request Body

GlossaryNewRoleAssignment

principal_id

Required *

string

Id of the user to be assigned to given role

role

Required *

string

Role to be assigned

user_type

string

Type of the user. When not provided defaults to USER

Path Parameters

category_id

Required *

string

The artifact ID or the global ID of a category

Query Parameters

Response

201 - The collaborator has been created successfully.

category_artifact_id

string

Category Artifact Id

category_name

string

Category Name

create_time

string

Create Time

dps_rule_id

string

DPS Rule Id

id

string

Id

principal_id

string

Principal Id

role

string

Role

user_type

string

User type

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - UniqueConstraintViolation - collaborator with the same role and user id already exists for given category.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes single collaborator

DELETE /v3/categories/{category_id}/collaborators/{collaborator_id}

Collaborator represents single user together with single role that gives him certain privileges in context of given category.

Request

Path Parameters

category_id

Required *

string

The artifact ID or the global ID of a category

collaborator_id

Required *

string

The id of the collaborator.

Query Parameters

Response

204 - The collaborator has been deleted successfully.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The collaborator with given id does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

List the relationships of the given type for the specified category

GET /v3/categories/{category_id}/relationships

If the result set is larger than the <code>limit</code> parameter, it returns the first <code>limit</code> number of relationships. <br/>To retrieve the next set of relationships, call the method again by using the URI in the property <code>next</code> returned by this method.

Request

Path Parameters

category_id

Required *

string

The artifact ID of the category.

Query Parameters

type

Required *

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_category</code></td><td></td></tr><tr><td><code>has_types_category</code></td><td></td></tr><tr><td><code>is_a_parent_category_for</code></td><td></td></tr><tr><td><code>grouped_assets</code></td><td></td></tr><tr><td><code>owned_by</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table><br/>Note: <code>all</code> does not return category hierarchy.

ca_definition_id

string

Custom relationship definition Id.

is_reversed

boolean

Is custom relationship reversed?

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_target_parent_category_name

boolean

Retrieves target parent category name of the relationship entity.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

custom_relationships

array

List of custom relationships

empty

boolean

relationships

object

Mapping of the relationship type to the paginated list of relationships

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Remove a relationship from category

DELETE /v3/categories/{category_id}/relationships/{relationship_id}

Currently we support a custom relationship removal from category by relationship ID.

Request

Path Parameters

category_id

Required *

string

The artifact ID of the category to fetch.

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

Response

204 - A relationship has been removed.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get role usage statistics

GET /v3/category_role_statistics

Get list of roles assigned in glossary, along with number of categories where specific role is used.

Request

Response

200 - Success

role_assignment_statistics

array

List of roles assigned in glossary, along with number of categories which have role assigned

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Returns list of categories which has specific role assigned, along with number of assignments for users and groups

GET /v3/category_statistics

Category statistics

Request

Path Parameters

Query Parameters

role

Required *

string

Role for which statistics are to be retrieved

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates a classification in the glossary

POST /v3/classifications

This method is used to create a classification in the glossary.

Request

Request Body

GlossaryNewClassificationEntity

categories

array

Secondary categories the artifact belongs to.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_classes

array

Relationships to data classes.

has_types_classifications

array

The child classification relationships in the classification type hierarchy.

is_a_type_of_classification

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

long_description

string

The long description of an artifact.

name

Required *

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

array

Relationships to categories.

short_description

string

The short description of an artifact.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

workflow_state

string

The workflow state of an artifact

Path Parameters

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves classification with given guid and status

GET /v3/classifications/{artifact_id}/versions

This method can be used for retrieving details of an ACTIVE classification. Only ACTIVE is supported

Request

Path Parameters

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

status

string

Filter by classification status.<br/><table><tbody><tr><td colspan="2">Available statuses:</td></tr><td><code>DRAFT</code></td><td>artifacts which are being created or modified and not in use</td></tr><tr><td><code>PUBLISHED</code></td><td>artifacts which are in published state (does not takes effective dates into account)</td></tr><tr><td><code>ACTIVE</code></td><td>artifacts which are published, and which effective date period includes current datetime</td></tr></tbody></table>

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_classification</code></td><td></td></tr><tr><td><code>has_types_classifications</code></td><td></td></tr><tr><td><code>has_types_classifications_hierarchy</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>related_categories</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes a draft or published version of an artifact

DELETE /v3/classifications/{artifact_id}/versions/{version_id}

If the artifact state is <code>DRAFT</code>, then the draft version is deleted.<br/><br/> If the artifact state is <code> PUBLISHED</code>, a draft version with <code>marked_for_deletion</code> is created .<br/><br/> If the artifact state is <code> PUBLISHED</code> and workflow is skipped, then the published version is deleted.<br/><br/> If a draft artifact already exists for deletion for a published artifact, then the draft artifact is simply skipped.<br/><br/> Administrator role is required.

Request

Path Parameters

artifact_id

Required *

string

The guid of the classification to fetch.

version_id

Required *

string

The version id of the classification to delete.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

201 - A draft version has been successfully created for deleting the published artifact.

resources

array

IDs of the created items.

204 - The artifact has been deleted successfully.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves classification with given guid

GET /v3/classifications/{artifact_id}/versions/{version_id}

This method can be used for retrieving details of an ACTIVE or DRAFT classification.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the classification to fetch.

version_id

Required *

string

The version id of the classification to fetch.

Query Parameters

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_classification</code></td><td></td></tr><tr><td><code>has_types_classifications</code></td><td></td></tr><tr><td><code>has_types_classifications_hierarchy</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>related_categories</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

Response

200 - Success

entity

GlossaryResponseClassificationEntity

Response classification entity object

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates a draft or published artifact

PATCH /v3/classifications/{artifact_id}/versions/{version_id}

If a published version is updated, a draft version is created from the published version and the draft version is updated with the requested changes and returned.If any relationships of the artifact are updated, then the updated relationships are returned as a paginated list limited by the give limit parameter. The relationships that are not updated are not returned.

Request

Request Body

GlossaryUpdatableClassificationEntity

The classification to be updated.<br>Fields omitted will be unchanged, and fields set to null explicitly will be nulled out.<br>For multi-valued attributes & relationships, the complete list will be replaced by the given list of values.<br>Additional Example:<br><pre>{&quot;description&quot; : &quot;description updated&quot;}</pre>

categories

array

Secondary categories the artifact belongs to.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_classes

array

Relationships to data classes.

has_types_classifications

array

The child classification relationships in the classification type hierarchy.

is_a_type_of_classification

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

long_description

string

The long description of an artifact.

name

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

array

Relationships to categories.

revision

Required *

string

The revision of the artifact. It is used for optimistic locking.

short_description

string

The short description of an artifact.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact id of the classification to be updated.

version_id

Required *

string

The version id of the classification to be updated.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - Success

entity

GlossaryResponseClassificationEntity

Response classification entity object

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

List the associations of the given type for the specified classification

GET /v3/classifications/{artifact_id}/versions/{version_id}/relationships

If the result set is larger than the <code>limit</code> parameter, it returns the first <code>limit</code> number of relationships. <br/>To retrieve the next set of relationships, call the method again by using the URI in the property <code>next</code> returned by this method.

Request

Path Parameters

artifact_id

Required *

string

The artifactId of the classification

version_id

Required *

string

The versionId of the classification

Query Parameters

type

Required *

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_classification</code></td><td></td></tr><tr><td><code>has_types_classifications</code></td><td></td></tr><tr><td><code>has_types_classifications_hierarchy</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>related_categories</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

ca_definition_id

string

Custom relationship definition Id.

is_reversed

boolean

Is custom relationship reversed?

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_target_parent_category_name

boolean

Retrieves target parent category name of the relationship entity.

limit

integer

The maximum number of associations to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

custom_relationships

array

List of custom relationships

empty

boolean

relationships

object

Mapping of the relationship type to the paginated list of relationships

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Create relationships for an artifact in the glossary

POST /v3/classifications/{artifact_id}/versions/{version_id}/relationships

If it is a published version, it creates a draft from the published version and adds the relationship to the draft version. And, it returns the details of the draft version.

Request

Request Body

GlossaryClassificationRelationshipsRequest

Relationships to be created.

categories

array

Category relationships.

data_classes

array

The relationships to data classes.

has_types_classifications

array

The child classification relationships in the classification type hierarchy.

is_a_type_of_classification

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

array

The relationships to categories.

terms

array

The relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact id of the classification to fetch.

version_id

Required *

string

The version id of the classification to fetch.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

201 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes relationships for an artifact in the glossary

DELETE /v3/classifications/{artifact_id}/versions/{version_id}/relationships/{relationship_id}

If it is a published version, it creates a draft from the published version and deletes the relationship from the draft version. And, it returns the details of the draft version.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the classification to fetch.

version_id

Required *

string

The version id of the classification to fetch.

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - Success

archived_guids

array

Guids of the archived objects.

delete_guids

array

Guids of the deleted objects.

updated_guids

array

Guids of the updated objects.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves the data classes matching specified parameters.

GET /v3/data_classes

This method is used to retrieve the data classes that the user have permissions and they match specified parameters.

Request

Path Parameters

Query Parameters

status

string

Comma-separated list of dataclass statuses.<br/><table><tbody><tr><td colspan="2">Available statuses:</td></tr><tr><td><code>PUBLISHED</code></td><td>artifacts which are in published state (does not takes effective dates into account)</td></tr><tr><td><code>ACTIVE</code></td><td>artifacts which are published, and which effective date period includes current datetime</td></tr><tr><td><code>DELETED</code></td><td>artifacts which have been deleted</td></tr></tbody></table>

enabled

string

To filter data classes based on enabled property. The enabled query parameter accepts (Yes, No, Both) where Yes is the default value. This option is not applicable for format=xml.

include_relationship

string

Comma-separated list of relationship types. This parameter is applicable only when format=JSON.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_data_class</code></td><td></td></tr><tr><td><code>has_types_data_classes</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_xml_definitions

boolean

If this parameter is set to true, then Dataclass' xml definitions are returned. If parameter is not set its default value is 'true'

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned.If parameter is not set its default value is 'false'.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

since

string

A filter to artifacts that have been created / updated / deleted since the given timestamp in this format: [yyyy-MM-ddTHH:mm:ss.SSSZ]

limit

integer

The maximum number of data_classes to return - must be at least 1 and cannot exceed 1000. The default value is 10.

offset

integer

The index of the first matching data_class to include in the result.

Response

200 - Success

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates a draft data class in the glossary

POST /v3/data_classes

This method is used to create a draft data class in the glossary. If the effective start date of selected reference data set is a future date, then effective start date of data class will be same as that of selected reference data set effective start date.

Request

Request Body

GlossaryNewDataClassEntity

Data class to be created.

additional_applicable_for

string

To specify additional applicable for: structured_data_only, unstructured_data_only, all_data; ( This property is applicable for data class type: Regex )

additional_regular_expression

string

To specify additional regular expression; ( This property is applicable for data class type: Regex )

allow_substring_match

boolean

To specify allow substring match boolean flag; ( This property is applicable for data class type: ValidValues )

applicable_for

string

To specify applicable for: structured_data_only, unstructured_data_only, all_data; ( This property is applicable for data class type: Regex )

case_sensitive

boolean

To specify case sensitive boolean flag; ( This property is applicable for data class type: ValidValues )

categories

array

Secondary categories the artifact belongs to.

class_code

string

Unique class code given to the data class.

classifications

array

Relationships to classifications.

column_name_match

string

To specify column name match

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_class_type

string

To specify the type of data class: ColumnSimilarity, Java, ReferenceDataSet, Regex, Script, Undefined, UnstructuredFilter, ValidValues

data_type

array

DataType: numeric, string, date, time, timestamp

enabled

boolean

This flag indicates whether the data class can be used for data profiling or not.

example

string

Data class example

expression

string

To specify expression; ( This property is applicable for data class type: UnstructuredFilter )

has_types_data_classes

array

List of immediate child data classes in the data class type hierarchy.

is_a_type_of_data_class

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

java_class_name

string

To specify Java class name; ( This property is applicable for data class type: Java )

language

string

To specify language: JavaScript, DataRule; ( This property is applicable for data class type: Script )

long_description

string

The long description of an artifact.

maximum_data_length

integer

To specify maximum data length

minimum_data_length

integer

To specify minimum data length

name

Required *

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

priority

number

Data class priority used while profiling.

properties

string

To specify properties; ( This property is applicable for data class type: Java )

provider

string

The provider of data class

reference_columns_metadata

string

To specify reference columns metadata; ( This property is applicable for data class type: ColumnSimilarity )

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

regular_expression

string

To specify regular expression; ( This property is applicable for data class type: Regex )

scope

string

To specify scope: value, column, dataset_columns, dataset; ( This property is applicable for data class types: Script & Java )

script

string

To specify script name; ( This property is applicable for data class type: Script )

short_description

string

The short description of an artifact.

squeeze_consecutive_white_spaces

boolean

To specify squeeze consecutive white spaces boolean flag; ( This property is applicable for data class type: ValidValues )

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

threshold

integer

The percentage of threshold.

valid_value_reference_file

string

To specify valid value reference file path; ( This property is applicable for data class type: ValidValues )

valid_values

array

To specify valid values; ( This property is applicable for data class type: ValidValues )

workflow_state

string

The workflow state of an artifact

Path Parameters

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves data class with given guid and status

GET /v3/data_classes/{artifact_id}/versions

This method can be used for retrieving details of an ACTIVE or DRAFT data class. Only ACTIVE is allowed as status right now

Request

Path Parameters

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

status

string

Filter by dataclass status.<br/><table><tbody><tr><td colspan="2">Available statuses:</td></tr><td><code>DRAFT</code></td><td>artifacts which are being created or modified and not in use</td></tr><tr><td><code>PUBLISHED</code></td><td>artifacts which are in published state (does not takes effective dates into account)</td></tr><tr><td><code>ACTIVE</code></td><td>artifacts which are published, and which effective date period includes current datetime</td></tr></tbody></table>

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_data_class</code></td><td></td></tr><tr><td><code>has_types_data_classes</code></td><td></td></tr><tr><td><code>has_types_data_class_hierarchy</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table><br/>Note: <code>all</code> does not return data class hierarchy.

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - The data class has been retrieved successfully.

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The data class with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes a draft or published version of an artifact

DELETE /v3/data_classes/{artifact_id}/versions/{version_id}

If the artifact state is <code>DRAFT</code>, then the draft version is deleted.<br/><br/> If the artifact state is <code> PUBLISHED</code>, a draft version with <code>marked_for_deletion</code> is created .<br/><br/> If the artifact state is <code> PUBLISHED</code> and workflow is skipped, then the published version is deleted.<br/><br/> If a draft artifact already exists for deletion for a published artifact, then the draft artifact is simply skipped.<br/><br/> Administrator role is required.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the dataclass to delete.

version_id

Required *

string

The version id of the dataclass to delete.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

201 - A draft version has been successfully created for deleting the published artifact.

resources

array

IDs of the created items.

204 - The artifact has been deleted successfully.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves data class with given guid

GET /v3/data_classes/{artifact_id}/versions/{version_id}

This method can be used for retrieving details of an ACTIVE or DRAFT data class.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the data class to fetch.

version_id

Required *

string

The version ID of the data class to fetch.

Query Parameters

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_data_class</code></td><td></td></tr><tr><td><code>has_types_data_classes</code></td><td></td></tr><tr><td><code>has_types_data_class_hierarchy</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table><br/>Note: <code>all</code> does not return data class hierarchy.

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

Response

200 - Success

entity

GlossaryDataClassEntity

Entity object for dataclass

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates a draft or published artifact

PATCH /v3/data_classes/{artifact_id}/versions/{version_id}

If a published version is updated, a draft version is created from the published version and the draft version is updated with the requested changes and returned.If any relationships of the artifact are updated, then the updated relationships are returned as a paginated list limited by the give limit parameter. The relationships that are not updated are not returned.

Request

Request Body

GlossaryUpdatableDataClassEntity

The data class to be updated.<br>Fields omitted will be unchanged, and fields set to null explicitly will be nulled out.<br>For multi-valued attributes & relationships, the complete list will be replaced by the given list of values.<br>Additional Example:<br><pre>{&quot;description&quot; : &quot;description updated&quot;}</pre>If the effective start date of selected reference data set is a future date, then effective start date of data class will be same as that of selected reference data set effective start date.

additional_applicable_for

string

To specify additional applicable for: structured_data_only, unstructured_data_only, all_data; ( This property is applicable for data class type: Regex )

additional_regular_expression

string

To specify additional regular expression; ( This property is applicable for data class type: Regex )

allow_substring_match

boolean

To specify allow substring match boolean flag; ( This property is applicable for data class type: ValidValues )

applicable_for

string

To specify applicable for: structured_data_only, unstructured_data_only, all_data; ( This property is applicable for data class type: Regex )

case_sensitive

boolean

To specify case sensitive boolean flag; ( This property is applicable for data class type: ValidValues )

categories

array

Secondary categories the artifact belongs to.

class_code

string

Unique class code given to the data class.

classifications

array

Relationships to classifications.

column_name_match

string

To specify column name match

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_class_type

string

To specify the type of data class: ColumnSimilarity, Java, ReferenceDataSet, Regex, Script, Undefined, UnstructuredFilter, ValidValues

data_type

array

DataType: numeric, string, date, time, timestamp

enabled

boolean

This flag indicates whether the data class can be used for data profiling or not.

example

string

Data class example

expression

string

To specify expression; ( This property is applicable for data class type: UnstructuredFilter )

has_types_data_classes

array

List of immediate child data classes in the data class type hierarchy.

is_a_type_of_data_class

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

java_class_name

string

To specify Java class name; ( This property is applicable for data class type: Java )

language

string

To specify language: JavaScript, DataRule; ( This property is applicable for data class type: Script )

long_description

string

The long description of an artifact.

maximum_data_length

integer

To specify maximum data length

minimum_data_length

integer

To specify minimum data length

name

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

priority

number

Data class priority used while profiling.

properties

string

To specify properties; ( This property is applicable for data class type: Java )

provider

string

The provider of data class

reference_columns_metadata

string

To specify reference columns metadata; ( This property is applicable for data class type: ColumnSimilarity )

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

regular_expression

string

To specify regular expression; ( This property is applicable for data class type: Regex )

revision

Required *

string

The revision of the artifact. It is used for optimistic locking.

scope

string

To specify scope: value, column, dataset_columns, dataset; ( This property is applicable for data class types: Script & Java )

script

string

To specify script name; ( This property is applicable for data class type: Script )

short_description

string

The short description of an artifact.

squeeze_consecutive_white_spaces

boolean

To specify squeeze consecutive white spaces boolean flag; ( This property is applicable for data class type: ValidValues )

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

threshold

integer

The percentage of threshold.

valid_value_reference_file

string

To specify valid value reference file path; ( This property is applicable for data class type: ValidValues )

valid_values

array

To specify valid values; ( This property is applicable for data class type: ValidValues )

Path Parameters

artifact_id

Required *

string

The artifact id of the data class to be updated.

version_id

Required *

string

The version id of the data class to be updated.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - Success

entity

GlossaryDataClassEntity

Entity object for dataclass

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

List the relationships of the given type for the specified data class

GET /v3/data_classes/{artifact_id}/versions/{version_id}/relationships

If the result set is larger than the <code>limit</code> parameter, it returns the first <code>limit</code> number of relationships. <br/>To retrieve the next set of relationships, call the method again by using the URI in the property <code>next</code> returned by this method.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the data class to fetch.

version_id

Required *

string

The version ID of the data class to fetch.

Query Parameters

type

Required *

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_data_class</code></td><td></td></tr><tr><td><code>has_types_data_classes</code></td><td></td></tr><tr><td><code>has_types_data_class_hierarchy</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table><br/>Note: <code>all</code> does not return data class hierarchy.

ca_definition_id

string

Custom relationship definition Id.

is_reversed

boolean

Is custom relationship reversed?

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_target_parent_category_name

boolean

Retrieves target parent category name of the relationship entity.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

custom_relationships

array

List of custom relationships

empty

boolean

relationships

object

Mapping of the relationship type to the paginated list of relationships

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Create relationships for an artifact in the glossary

POST /v3/data_classes/{artifact_id}/versions/{version_id}/relationships

If it is a published version, it creates a draft from the published version and adds the relationship to the draft version. And, it returns the details of the draft version.

Request

Request Body

GlossaryDataClassRelationshipsRequest

Relationships to be created.

categories

array

Category relationships.

classifications

array

The relationships to classifications.

has_types_data_classes

array

New list of child data classes in the data class type hierarchy.

is_a_type_of_data_class

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

terms

array

The relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact ID of the data class to fetch.

version_id

Required *

string

The version ID of the data class to fetch.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

201 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes relationships for an artifact in the glossary

DELETE /v3/data_classes/{artifact_id}/versions/{version_id}/relationships/{relationship_id}

If it is a published version, it creates a draft from the published version and deletes the relationship from the draft version. And, it returns the details of the draft version.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the data class to fetch.

version_id

Required *

string

The version ID of the data class to fetch.

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - Success

archived_guids

array

Guids of the archived objects.

delete_guids

array

Guids of the deleted objects.

updated_guids

array

Guids of the updated objects.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Business Glossary Heartbeat

GET /v3/glossary_status/heartbeat

Returns the build details and health of the dependent services

Request

Path Parameters

Query Parameters

extended

boolean

When true, includes dependent service health details in the response. Only effective when the dependent-services feature is enabled.

Response

200 - Success

build_info

GlossaryBuildInfoV3

Build information.

database_status

string

Status of the database.

database_type

string

Database type

dependent_services

array

Status of dependent services.

extended_info

string

Informational hint about the dependent-services feature. Present when the feature is disabled (explains how to enable it) or when extended=false (explains how to request full details). Absent when extended=true and the feature is enabled.

external_rabbit_mq_listener_status

string

The status of the external Rabbit MQ listener.

internal_rabbit_mq_listener_status

string

The status of the internal Rabbit MQ listener.

schema_version

string

The database schema version.

status

string

OK indicates that the service is up and running.

version

string

The version of the build.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Tenant init and status

POST /v3/glossary_status/tenant_init

Checks tenant init status (and initialize if necessary), blocks until init is done

Request

Response

204 - Success

503 - Requested data are not available, try again later.

errors

array

List of errors.

trace

string

The trace id.

Tenant init and status

GET /v3/glossary_status/tenant_init_status

Checks tenant init status, returns immediately (initialization if required is performed in background)

Request

Response

200 - Success

status

string

tenant status, one of READY, NOT READY

Creates draft terms in the glossary

POST /v3/glossary_terms

If the unique constraint on the name or display name of the term is violated, the method fails with <code>409 Conflict</code> response.

Request

Request Body

Terms to be created. The terms array must contain at least 1 term, and cannot exceed 100 terms.

Path Parameters

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves versions of a term for the given artifact_id and status

GET /v3/glossary_terms/{artifact_id}/versions

Retrieval of the versions of ACTIVE state is supported.

Request

Path Parameters

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

status

string

Filter by term status.<br/><table><tbody><tr><td colspan="2">Available statuses:</td></tr><td><code>DRAFT</code></td><td>artifacts which are being created or modified and not in use</td></tr><tr><td><code>PUBLISHED</code></td><td>artifacts which are in published state (does not takes effective dates into account)</td></tr><tr><td><code>ACTIVE</code></td><td>artifacts which are published, and which effective date period includes current datetime</td></tr></tbody></table>

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_terms</code></td><td></td></tr><tr><td><code>has_type_terms</code></td><td></td></tr><tr><td><code>has_types_term_hierarchy</code></td><td></td></tr><tr><td><code>synonym_terms</code></td><td></td></tr><tr><td><code>related_terms</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>is_of_terms</code></td><td></td></tr><tr><td><code>has_terms</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>reference_data_values</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes a draft or published version of an artifact

DELETE /v3/glossary_terms/{artifact_id}/versions/{version_id}

If the artifact state is <code>DRAFT</code>, then the draft version is deleted.<br/><br/> If the artifact state is <code> PUBLISHED</code>, a draft version with <code>marked_for_deletion</code> is created .<br/><br/> If the artifact state is <code> PUBLISHED</code> and workflow is skipped, then the published version is deleted.<br/><br/> If a draft artifact already exists for deletion for a published artifact, then the draft artifact is simply skipped.<br/><br/> Administrator role is required.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the term to fetch.

version_id

Required *

string

The version id of the term to delete.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

201 - A draft version has been successfully created for deleting the published artifact.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Gets the term in the glossary with a given version id

GET /v3/glossary_terms/{artifact_id}/versions/{version_id}

This method can be used for retrieving details of an ACTIVE or DRAFT term.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the term to fetch.

version_id

Required *

string

The version id of the term to fetch.

Query Parameters

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_terms</code></td><td></td></tr><tr><td><code>has_type_terms</code></td><td></td></tr><tr><td><code>has_types_term_hierarchy</code></td><td></td></tr><tr><td><code>synonym_terms</code></td><td></td></tr><tr><td><code>related_terms</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>is_of_terms</code></td><td></td></tr><tr><td><code>has_terms</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>reference_data_values</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

Response

200 - Success

entity

GlossaryResponseTermEntity

Response glossary term entity object

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates a draft or published artifact

PATCH /v3/glossary_terms/{artifact_id}/versions/{version_id}

If a published version is updated, a draft version is created from the published version and the draft version is updated with the requested changes and returned.If any relationships of the artifact are updated, then the updated relationships are returned as a paginated list limited by the give limit parameter. The relationships that are not updated are not returned.

Request

Request Body

GlossaryUpdatableTermEntity

The business term to be updated.<br>Fields omitted will be unchanged, and fields set to null explicitly will be nulled out. If a relationship of the term is updated, then the updated relationship as returned as a paginated list limited by the give limit parameter. Relationships that are not updated are not returned.

abbreviations

array

The list of abbreviations of a business term.

categories

array

Secondary categories the artifact belongs to.

classifications

array

Relationships to classifications.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_classes

array

Relationships to data classes.

example

string

Example

has_terms

array

The list of child business terms in the business term containment hierarchy.

has_type_terms

array

The list of child business terms in the business term type hierarchy.

import_source_created_by

string

Name of the user who has created the term in the original source for imported term.

import_source_created_on

string

The timestamp when the term was created in the original source for imported term.

import_source_usage

string

The usage of the term in the original source for imported term.

is_a_type_of_terms

array

The list of parent business terms in the business term type hierarchy.

is_of_terms

array

The list of parent business terms in the business term containment hierarchy.

long_description

string

The long description of an artifact.

name

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

array

The list of related business terms.

array

The list of related business terms.

replaced_by_terms

array

The list of business terms that are replaced by this business term.

replaces_terms

array

The list of business terms that replace this business term.

revision

Required *

string

The revision of the artifact. It is used for optimistic locking.

short_description

string

The short description of an artifact.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

synonym_terms

array

The list of synonym business terms.

system_business_reference

string

System business reference of a business term.

tags

array

The tags assigned to an artifact.

Path Parameters

artifact_id

Required *

string

The artifact id of the term to be updated.

version_id

Required *

string

The version id of the term to be updated.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - Success

entity

GlossaryResponseTermEntity

Response glossary term entity object

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

List the relationships for the specified term

GET /v3/glossary_terms/{artifact_id}/versions/{version_id}/relationships

If the result set is larger than the <code>limit</code> parameter, it returns the first <code>limit</code> number of relationships. <br/>To retrieve the next set of relationships, call the method again by using the URI in the property <code>next</code> returned by this method.

Request

Path Parameters

artifact_id

Required *

string

The guid of the Term

version_id

Required *

string

The versionID of the Term

Query Parameters

type

Required *

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>is_a_type_of_terms</code></td><td></td></tr><tr><td><code>has_type_terms</code></td><td></td></tr><tr><td><code>has_types_term_hierarchy</code></td><td></td></tr><tr><td><code>synonym_terms</code></td><td></td></tr><tr><td><code>related_terms</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>is_of_terms</code></td><td></td></tr><tr><td><code>has_terms</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>reference_data_values</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

ca_definition_id

string

Custom relationship definition Id.

is_reversed

boolean

Is custom relationship reversed?

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_target_parent_category_name

boolean

Retrieves target parent category name of the relationship entity.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

custom_relationships

array

List of custom relationships

empty

boolean

relationships

object

Mapping of the relationship type to the paginated list of relationships

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Create relationships for an artifact in the glossary

POST /v3/glossary_terms/{artifact_id}/versions/{version_id}/relationships

If it is a published version, it creates a draft from the published version and adds the relationship to the draft version. And, it returns the details of the draft version.

Request

Request Body

GlossaryTermRelationshipsRequest

Relationships to be created.

categories

array

Category relationships.

classifications

array

The relationships to the classifications.

data_classes

array

The relationships to the data classes.

has_terms

array

The list of child business terms in the business term containment hierarchy.

has_type_terms

array

The list of child business terms in the business term type hierarchy.

is_a_type_of_terms

array

The list of parent business terms in the business term type hierarchy.

is_of_terms

array

The list of parent business terms in the business term containment hierarchy.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

array

The list of related business terms.

replaced_by_terms

array

The list of business terms that are replaced by this business term.

replaces_terms

array

The list of business terms that replace this business term.

synonym_terms

array

The list of synonym business terms.

Path Parameters

artifact_id

Required *

string

The artifact ID of the term to fetch.

version_id

Required *

string

The version ID of the term to fetch.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

201 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes relationships for an artifact in the glossary

DELETE /v3/glossary_terms/{artifact_id}/versions/{version_id}/relationships/{relationship_id}

If it is a published version, it creates a draft from the published version and deletes the relationship from the draft version. And, it returns the details of the draft version.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the term to fetch.

version_id

Required *

string

The version ID of the term to fetch.

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Exports custom attribute definitions to a json file

POST /v3/governance_artifact_types/custom_attribute_definitions/export

This method can be used to export custom attribute definitions to a json file.

Request

Request Body

GlossaryGlossaryResourceList

The list of custom attribute definitions artifact ids to be exported.

resources

array

List of resources.

Path Parameters

Query Parameters

types

string

The comma-separated list of supported custom attribute types. Allowed values are text, date, number, enum, relationship, all, all_without_relationship.

artifact_types

string

The artifact type which a custom attribute definition applies to. Allowed values are category, glossary_term, data_class, policy, rule, classification, reference_data

string

The related artifact type which a custom attribute definition for relationship applies to. Allowed values are category, glossary_term, data_class, policy, rule, classification, reference_data

Response

200 - Success

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Import values for custom attribute definitions from specified json file

POST /v3/governance_artifact_types/custom_attribute_definitions/import

This method can be used to import values custom attribute definitions from specified json file.

Request

Request Body

Path Parameters

Query Parameters

subtype

string

Determines if only custom properties or custom relationships or both types will be imported. Allowed values: ALL, PROPERTY, RELATIONSHIP.

async_mode

boolean

If async_mode is true, then the method starts an asynchronous process to execute the given action and returns with ACCEPTED 202 status code.

Response

200 - Import of assets has been completed

children_statuses

array

Children statuses

completion_time

string

Completion time

creation_time

string

Creation time

error_message

string

Error message

heartbeat_time

string

Heartbeat time

heartbeater_id

string

Heartbeater id

messages

GlossaryPaginatedImportMessagesList

List of import messages

operations_count

object

Operations count

process_id

string

Process Id

status

string

Status

step_message

string

Step message

step_number

integer

Step number

tenant_id

string

Tenant Id

total_steps

integer

Total steps

workflow_id

string

Workflow Id

202 - Import of assets has been started

children_statuses

array

Children statuses

completion_time

string

Completion time

creation_time

string

Creation time

error_message

string

Error message

heartbeat_time

string

Heartbeat time

heartbeater_id

string

Heartbeater id

messages

GlossaryPaginatedImportMessagesList

List of import messages

operations_count

object

Operations count

process_id

string

Process Id

status

string

Status

step_message

string

Step message

step_number

integer

Step number

tenant_id

string

Tenant Id

total_steps

integer

Total steps

workflow_id

string

Workflow Id

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Export values of all supported types to a ZIP file

GET /v3/governance_artifact_types/export

This method can be used to export values of all supported types to a ZIP file.

Request

Path Parameters

Query Parameters

artifact_id_mode

string

This specifies if artifact ID numbers should be included in exported files, or not. Possible values: "always", artifact ID numbers are included for artifacts, and "never", not included at all.

artifact_types

string

The comma-separated list of supported artifact types. Allowed values are all, category, classification, data_class, glossary_term, policy, rule, reference_data and role_assignment.

category_ids

string

The comma-separated list of categories ID numbers, or "all_top_level". All the provided categories must be disjoint, which means any provided category cannot be a sub-category of other category from the list. Such situation may lead to duplicates in export results

include_custom_attribute_definitions

boolean

If parameter "include_custom_attribute_definitions" is set to true, information about suitable custom attribute definitions will be included in zip

include_development_log

boolean

If parameter "include_development_log" is set to true, development log content will be included in zip

Response

200 - Success

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The category with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Import values from specified ZIP file

POST /v3/governance_artifact_types/import

This method can be used to import values from specified ZIP file.

Request

Request Body

Path Parameters

Query Parameters

merge_option

string

Import merge option, valid values: <br/>all - imported values will replace existing values in catalog<br/>specified - imported values that are not empty replace existing values in catalog<br/>empty - imported values replace only empty values in catalog.

apply_ca_default_values

boolean

Use default values for missing mandatory custom attributes

Response

200 - Import of assets has been completed

children_statuses

array

Children statuses

completion_time

string

Completion time

creation_time

string

Creation time

error_message

string

Error message

heartbeat_time

string

Heartbeat time

heartbeater_id

string

Heartbeater id

messages

GlossaryPaginatedImportMessagesList

List of import messages

operations_count

object

Operations count

process_id

string

Process Id

status

string

Status

step_message

string

Step message

step_number

integer

Step number

tenant_id

string

Tenant Id

total_steps

integer

Total steps

workflow_id

string

Workflow Id

202 - Import of assets has been started

children_statuses

array

Children statuses

completion_time

string

Completion time

creation_time

string

Creation time

error_message

string

Error message

heartbeat_time

string

Heartbeat time

heartbeater_id

string

Heartbeater id

messages

GlossaryPaginatedImportMessagesList

List of import messages

operations_count

object

Operations count

process_id

string

Process Id

status

string

Status

step_message

string

Step message

step_number

integer

Step number

tenant_id

string

Tenant Id

total_steps

integer

Total steps

workflow_id

string

Workflow Id

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Cleanup ZIP import process

POST /v3/governance_artifact_types/import/cleanup/{process_id}

This method can be used to cleanup specified stalled ZIP import process that crashed or hanged. Note: This feature is experimental - the API and scope are subject to change. Should not be used on imports that are alive or pending as it can lead to unpredictable results.

Request

Path Parameters

process_id

Required *

string

Import process id

Query Parameters

Response

200 - OK

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Import of assets status

GET /v3/governance_artifact_types/import/status/{process_id}

Import of assets status

Request

Path Parameters

process_id

Required *

string

Import process id

Query Parameters

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Import status available

children_statuses

array

Children statuses

completion_time

string

Completion time

creation_time

string

Creation time

error_message

string

Error message

heartbeat_time

string

Heartbeat time

heartbeater_id

string

Heartbeater id

messages

GlossaryPaginatedImportMessagesList

List of import messages

operations_count

object

Operations count

process_id

string

Process Id

status

string

Status

step_message

string

Step message

step_number

integer

Step number

tenant_id

string

Tenant Id

total_steps

integer

Total steps

workflow_id

string

Workflow Id

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get artifacts of given type that are either published or drafts matching specified criteria

GET /v3/governance_artifact_types/{artifact_type}

This method can be used for retrieving artifacts of given type that are: <ul><li> published,</li><li> drafts matching specified criteria (starts_with, substring, workflow_status, created_by, modified_by, enabled).</li></ul>

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are all, glossary_term, classification, data_class, reference_data, policy, rule

Query Parameters

starts_with

string

The first character of artifact (Prefix of artifact), applicable only for draft artifact search.

sub_string

string

Substring in artifact (anywhere in artifact), applicable only for draft artifact search.

parent_category_id

string

Filter by parent category ID (of artifact), applicable only for draft artifact search.

workflow_status

string

Filter by workflow status.<br/><table><tbody><tr><td colspan="2">Available statuses (if no status is specified, all drafts are retrieved):</td></tr><tr><td><code>published</code></td><td></td></tr><tr><td><code>Publishing (applicable only for draft artifact search)</code></td><td></td></tr><tr><td><code>Publish failed (applicable only for draft artifact search)</code></td><td></td></tr><tr><td><code>Not started (applicable only for draft artifact search)</code></td><td></td></tr></tbody></table>

created_by

string

Filter by creator of artifact, applicable only for draft artifact search.

modified_by

string

Filter by editor of artifact, applicable only for draft artifact search.

enabled

string

Filter Results based on enabled flag for dataclass, `yes` will give enabled dataclass, `no` will give disabled and `both` shall return all, applicable only for draft artifact search.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

sort

string

Value on which results need to be sorted.<br/><table><tbody><tr><td colspan="2">Available sort parameters:</td></tr><tr><td><code>NAME</code></td><td></td></tr><tr><td><code>MODIFIED</code></td><td></td></tr><tr><td><code>CREATED</code></td><td></td></tr><tr><td><code>TYPE</code></td><td></td></tr></tbody></table><br/>Prefix hyphen (-) for descending order. applicable only for draft artifact search

Response

200 - Artifacts have been retrieved successfully.

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves custom attribute definitions with given artifact type

GET /v3/governance_artifact_types/{artifact_type}/custom_attribute_definitions

This method can be used for retrieving details of custom attribute definitions.

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are all, category, glossary_term, classification, data_class, reference_data, policy, rule, data_protection_rule

Query Parameters

boolean

Is the artifact type defined as related artifact type or not, in case of "RELATIONSHIP" type only!

Response

200 - The custom attribute definitions have been retrieved successfully.

entity

GlossaryCustomAttributeDefinitionEntity

Custom Attribute Definition Entity

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The custom attribute definition with given {artifact_id} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates custom attribute definition in the glossary

POST /v3/governance_artifact_types/{artifact_type}/custom_attribute_definitions

This method can be used to create custom attribute definition in the glossary.

Request

Request Body

GlossaryNewCustomAttributeDefinitionEntity

Custom attribute definition to be created.

artifact_types

array

Set of artifact types

category_artifact_ids

array

Set of restricted category artifact ids

default_value

string

The default value of the custom property

description

string

Description

display_in_child_assets

boolean

Specifies whether custom attribute values should be displayed in child assets

elements

array

List of predefined values. Supported only for the type ENUM.

max_length

integer

Maximum length of custom attribute values of the type string

maximum

number

Maximum

min_length

integer

Minimum length of custom attribute values of the type string

minimum

number

Minimum

multiple_values

boolean

Specifies whether the custom attribute can have more than one value

name

Required *

string

Name of custom attribute

read_only

boolean

Specifies whether custom attribute values should be read only

array

Set of related artifact types

array

Set of restricted related category artifact ids

required

boolean

Specifies whether custom property should be required

reverse_name

string

Reversed Custom Attribute relationship name which may be display on the related artifact

searchable

boolean

Specifies whether custom attribute definition should be global search

skip_permission_on_target

boolean

Specifies whether custom relationship should ignore target permissions validation

type

Required *

string

Type of custom attribute values

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are all, category, glossary_term, classification, data_class, reference_data, policy, rule, data_protection_rule

Query Parameters

Response

201 - The custom attribute definition has been created successfully.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - UniqueConstraintViolation - custom attribute definition with given name already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes the custom attribute definition with a given artifact_id

DELETE /v3/governance_artifact_types/{artifact_type}/custom_attribute_definitions/{custom_attribute_definition_artifact_id}

This method is used to delete the custom attribute definition with a given artifact_id (guid).

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are all, category, glossary_term, classification, data_class, reference_data, policy, rule, data_protection_rule

custom_attribute_definition_artifact_id

Required *

string

The artifact_id of the custom attribute definition to be purged.

Query Parameters

Response

200 - The custom attribute definition has been deleted successfully.

archived_guids

array

Guids of the archived objects.

delete_guids

array

Guids of the deleted objects.

updated_guids

array

Guids of the updated objects.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The custom attribute definition with given {artifact_id} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves custom attribute definition with given artifact_id

GET /v3/governance_artifact_types/{artifact_type}/custom_attribute_definitions/{custom_attribute_definition_artifact_id}

This method can be used for retrieving details of a custom attribute definition.

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are all, category, glossary_term, classification, data_class, reference_data, policy, rule, data_protection_rule

custom_attribute_definition_artifact_id

Required *

string

The artifact_id of the custom attribute definition to fetch.

Query Parameters

Response

200 - The custom attribute definition has been retrieved successfully.

entity

GlossaryCustomAttributeDefinitionEntity

Custom Attribute Definition Entity

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The custom attribute definition with given {artifact_id} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates custom attribute definition with given artifact_id

PATCH /v3/governance_artifact_types/{artifact_type}/custom_attribute_definitions/{custom_attribute_definition_artifact_id}

This method is used to update custom attribute definition with given artifact_id.

Request

Request Body

GlossaryUpdatableCustomAttributeDefinitionEntity

Custom attribute definition to be updated.<br>Fields omitted will be unchanged, and fields set to null explicitly will be nulled out.<br>For multi-valued attributes & relationships, the complete list will be replaced by the given list of values.<br>Additional Example:<br><pre>{&quot;business_description&quot; : &quot;business desc updated&quot;}</pre>

artifact_types

array

Set of artifact types

category_artifact_ids

array

Set of restricted category artifact ids

default_value

string

The default value of the custom property

description

string

Description

display_in_child_assets

boolean

Specifies whether custom attribute values should be displayed in child assets

elements

array

List of predefined values. Supported only for the type ENUM.

max_length

integer

Maximum length of custom attribute values of the type string

maximum

number

Maximum

min_length

integer

Minimum length of custom attribute values of the type string

minimum

number

Minimum

multiple_values

boolean

Specifies whether the custom attribute can have more than one value

name

string

Name of custom attribute

read_only

boolean

Specifies whether custom attribute values should be read only

array

Set of related artifact types

array

Set of restricted related category artifact ids

required

boolean

Specifies whether custom property should be required

reverse_name

string

Reversed Custom Attribute relationship name which may be display on the related artifact

searchable

boolean

Specifies whether custom attribute definition should be global search

skip_permission_on_target

boolean

Specifies whether custom relationship should ignore target permissions validation

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are all, category, glossary_term, classification, data_class, reference_data, policy, rule, data_protection_rule

custom_attribute_definition_artifact_id

Required *

string

The artifact_id of the custom attribute definition to be updated.

Query Parameters

Response

200 - The custom attribute definition has been updated successfully.

entity

GlossaryCustomAttributeDefinitionEntity

Custom Attribute Definition Entity

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The custom attribute definition with given {artifact_id} does not exist.

errors

array

List of errors.

trace

string

The trace id.

409 - The custom attribute definition was modified by another user.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Delete a list of draft or published versions of given artifact_type

POST /v3/governance_artifact_types/{artifact_type}/delete

If the artifact state is <code>DRAFT</code>, then the draft version is deleted.<br/><br/> If the artifact state is <code> PUBLISHED</code>, a draft version with <code>marked_for_deletion</code> is created .<br/><br/> If the artifact state is <code> PUBLISHED</code> and workflow is skipped, then the published version is deleted.<br/><br/> If a draft artifact already exists for deletion for a published artifact, then the draft artifact is simply skipped.<br/><br/> Administrator role is required.

Request

Request Body

GlossaryGlossaryResourceIdentifierList

The list of artifacts to be deleted. All the artifacts must be either in published state or draft state, but mix of draft and published state is not allowed.

resources

array

List of resource identifiers.

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are category, glossary_term, classification, data_class, reference_data, policy, rule

Query Parameters

async_mode

boolean

If async_mode is true, then the method starts an asynchronous process to execute the given action and returns with ACCEPTED 202 status code.

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

skip_if_draft_exists

boolean

If someone has already created a draft for deleting or updating an artifact, then the artifact will be ignored.

skip_if_not_exists

boolean

If specified asset does does not exist, it is skipped.

Response

201 - A draft version has been successfully created for deleting the published artifact.

202 - If async_mode is true, then the method starts an asynchronous process to execute the given action and returns with ACCEPTED 202 status code.

task_id

string

Task id

204 - The artifacts have been deleted successfully.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Exports values of a specified type to a csv file

GET /v3/governance_artifact_types/{artifact_type}/export

This method can be used to export values of a specified type to a csv file.

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are category, glossary_term, data_class, policy, rule, classification

Query Parameters

category_id

string

The artifactId of the parent category

include_category

boolean

Whether to include the parent category. This applies to category (as asset type) export only, and is ignored for other asset types. The special [uncategorized] category is not included.

include_subcategories

boolean

Whether to include assets from subcategories

Response

200 - Success

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The category with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Import values from specified csv file

POST /v3/governance_artifact_types/{artifact_type}/import

This method can be used to import values from specified csv file.

Request

Request Body

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are category, glossary_term, classification, data_class, reference_data, policy, rule

Query Parameters

merge_option

string

Import merge option, valid values: <br/>all - imported values will replace existing values in catalog<br/>specified - imported values that are not empty replace existing values in catalog<br/>empty - imported values replace only empty values in catalog.

async_mode

boolean

If async_mode is true, then the method starts an asynchronous process to execute the given action and returns with ACCEPTED 202 status code.

apply_ca_default_values

boolean

Use default values for missing mandatory custom attributes

Response

200 - Import of assets has been completed

children_statuses

array

Children statuses

completion_time

string

Completion time

creation_time

string

Creation time

error_message

string

Error message

heartbeat_time

string

Heartbeat time

heartbeater_id

string

Heartbeater id

messages

GlossaryPaginatedImportMessagesList

List of import messages

operations_count

object

Operations count

process_id

string

Process Id

status

string

Status

step_message

string

Step message

step_number

integer

Step number

tenant_id

string

Tenant Id

total_steps

integer

Total steps

workflow_id

string

Workflow Id

202 - Import of assets has been started

children_statuses

array

Children statuses

completion_time

string

Completion time

creation_time

string

Creation time

error_message

string

Error message

heartbeat_time

string

Heartbeat time

heartbeater_id

string

Heartbeater id

messages

GlossaryPaginatedImportMessagesList

List of import messages

operations_count

object

Operations count

process_id

string

Process Id

status

string

Status

step_message

string

Step message

step_number

integer

Step number

tenant_id

string

Tenant Id

total_steps

integer

Total steps

workflow_id

string

Workflow Id

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get the latest published version of the specified artifact

GET /v3/governance_artifact_types/{artifact_type}/{artifact_id}

This method can be used for getting the latest published version of the specified artifact.

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are category, glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

include_relationship

string

Comma-separated list of relationship types.<br/><table><thead><tr><th><code>Relationship Types</code></th><th colspan=8><code>Artifact Types</code></th></tr><tr><th></th><th><code>custom_artifact</code></th><th><code>category</code></th><th><code>classification</code></th><th><code>data_class</code></th><th><code>glossary_term</code></th><th><code>policy</code></th><th><code>reference_data</code></th><th><code>rule</code></th></tr></thead><tbody><tr><td><code>all</code></td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>categories</code></td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>child</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>classifications</code></td><td>-</td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>custom</code></td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>data_classes</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>data_location_rules</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>data_protection_rules</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>grouped_assets</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_type_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_category</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_classifications</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_classifications_hierarchy</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_data_class_hierarchy</code></td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_data_classes</code></td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_term_hierarchy</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_parent_category_for</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_category</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_classification</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_data_class</code></td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_of_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>multi_value_mappings</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>owned_by</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>parent</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>parent_category</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>parent_hierarchy</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>parent_policy</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>policies</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>-</td><td>-</td><td>+</td></tr><tr><td><code>reference_data</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>-</td><td>-</td><td>+</td></tr><tr><td><code>reference_data_values</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>related_categories</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>related_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>replaced_by_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>replaces_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>rules</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>single_value_mappings</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>sub_policies</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>synonym_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>terms</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>value_mappings</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr></tbody></table>

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned.If parameter is not set its default value is 'false'.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.<br>This parameter is ignored when artifact type is category.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.<br>This parameter is ignored when artifact type is category.

Response

200 - The latest published version of the specified artifact has been retrieved successfully.

entity

GlossaryEntityV3

Base object for entity

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Changes the parent category of a published artifact with given id

POST /v3/governance_artifact_types/{artifact_type}/{artifact_id}/move

This method can be used to change given artifact parent. Or make it root-level, in case of category.<br>Note: change of collaborators access may take longer to complete

Request

Request Body

GlossaryMoveTargetCategory

Target category (to become a parent of this artifact)

target_category_id

Required *

string

specifies id of category to become parent after move. One can specify either artifact ID or global ID. In case of category, one can specify string `ROOT` to move it to the top level

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are category, glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - The artifact has been moved successfully.

entity

GlossaryEntityV3

Base object for entity

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - Published artifact not found for given guid

errors

array

List of errors.

trace

string

The trace id.

409 - Either the artifact was modified by another user, or the same artifact already exists with the same new parent category

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get development logs & Comments for a draft artifact version

GET /v3/governance_artifact_types/{artifact_type}/{artifact_id}/versions/{version_id}/aggregated_logs

Get development logs & Comments for a draft artifact version

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

The artifact ID.

version_id

Required *

string

The version id.

Query Parameters

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

time_zone_offset

string

Time zone offset based on which the day wise grouping is to be performed. The offset will be of format [+-]hh:mm where hh stands for hour digit and mm for minute digit. <br/>e.g. +05:30 indicates IST. If [+-] is not provided by default + will be appended. e.g 05:30 indicates +05:30. <br/>If hour digit is single like +h:mm provided, then it will be considered as +0h:mm. e.g. +5:30 indicates +05:30. <br/>The range of offsets is restricted to -17:59 to +17:59 inclusive.

Response

200 - Development logs & Comments retrieved successfully

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - Draft artifact version not found for given version_id

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get development logs & Comments for a draft artifact version with development log id

GET /v3/governance_artifact_types/{artifact_type}/{artifact_id}/versions/{version_id}/aggregated_logs/{mod_id}

Get development logs & Comments for a draft artifact version with development log id

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

The artifact ID.

version_id

Required *

string

The version id.

mod_id

Required *

string

The development log id.

Query Parameters

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Development logs & Comments retrieved successfully

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - Draft artifact version not found for given version_id

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Add a comment for a draft artifact version

POST /v3/governance_artifact_types/{artifact_type}/{artifact_id}/versions/{version_id}/comments

Add a comment for a draft artifact version

Request

Request Body

GlossaryAssetCommentUserEntity

The user comment.

comment

Required *

string

User comment

imported

boolean

Indicates whether the development log entry originates from import

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

The artifact ID.

version_id

Required *

string

The version id.

Query Parameters

Response

201 - Comment added successfully

comment

string

User comment

imported

boolean

Indicates whether the development log entry originates from import

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - Draft artifact version not found for given version_id

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Delete a comment on a draft artifact version

DELETE /v3/governance_artifact_types/{artifact_type}/{artifact_id}/versions/{version_id}/comments/{comment_id}

Delete a comment on a draft artifact version

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

The artifact ID.

version_id

Required *

string

The version id.

comment_id

Required *

string

The comment id.

Query Parameters

Response

204 - Comment deleted successfully

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Draft artifact version not found for given version_id

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Update a comment on a draft artifact version

PATCH /v3/governance_artifact_types/{artifact_type}/{artifact_id}/versions/{version_id}/comments/{comment_id}

Update a comment on a draft artifact version

Request

Request Body

GlossaryAssetCommentUserEntity

The user comment.

comment

Required *

string

User comment

imported

boolean

Indicates whether the development log entry originates from import

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

The artifact ID.

version_id

Required *

string

The version id.

comment_id

Required *

string

The comment id.

Query Parameters

Response

200 - Comment updated successfully

comment

string

User comment

imported

boolean

Indicates whether the development log entry originates from import

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Draft artifact version not found for given version_id

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get development logs & Comments for a draft artifact version

GET /v3/governance_artifact_types/{artifact_type}/{artifact_id}/versions/{version_id}/logs

Get development logs & Comments for a draft artifact version

Request

Path Parameters

artifact_type

Required *

string

The artifact type. Allowed values are glossary_term, classification, data_class, reference_data, policy, rule

artifact_id

Required *

string

The artifact ID.

version_id

Required *

string

The version id.

Query Parameters

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Development logs & Comments retrieved successfully

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - Draft artifact version not found for given version_id

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates a policy in the glossary

POST /v3/policies

Creates a policy in the glossary

Request

Request Body

GlossaryNewPolicyEntity

categories

array

Secondary categories the artifact belongs to.

classifications

array

Relationships to classifications.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_classes

array

Relationships to data classes.

data_location_rules

array

Relationships to data location rules only. Does not include other rule relationships.

data_protection_rules

array

Relationships to data protection rules only. Does not include other rule relationships.

long_description

string

The long description of an artifact.

name

Required *

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

parent_policy

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

rules

array

Relationships to governance rules only. Does not include other rule relationships.

short_description

string

The short description of an artifact.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

sub_policies

array

The list of sub-policies in the policy type hierarchy.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

workflow_state

string

The workflow state of an artifact

Path Parameters

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - The policy has been created successfully.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - UniqueConstraintViolation - policy with given name already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves versions of a policy for the given artifact_id and status

GET /v3/policies/{artifact_id}/versions

Retrieval of the versions of ACTIVE state is supported.

Request

Path Parameters

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

status

string

Filter by policy status.<br/><table><tbody><tr><td colspan="2">Available statuses:</td></tr><td><code>DRAFT</code></td><td>artifacts which are being created or modified and not in use</td></tr><tr><td><code>PUBLISHED</code></td><td>artifacts which are in published state (does not takes effective dates into account)</td></tr><tr><td><code>ACTIVE</code></td><td>artifacts which are published, and which effective date period includes current datetime</td></tr></tbody></table>

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_policy</code></td><td></td></tr><tr><td><code>sub_policies</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>data_location_rules</code></td><td></td></tr><tr><td><code>data_protection_rules</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

Response

200 - Success

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes a draft or published version of an artifact

DELETE /v3/policies/{artifact_id}/versions/{version_id}

If the artifact state is <code>DRAFT</code>, then the draft version is deleted.<br/><br/> If the artifact state is <code> PUBLISHED</code>, a draft version with <code>marked_for_deletion</code> is created .<br/><br/> If the artifact state is <code> PUBLISHED</code> and workflow is skipped, then the published version is deleted.<br/><br/> If a draft artifact already exists for deletion for a published artifact, then the draft artifact is simply skipped.<br/><br/> Administrator role is required.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the policy.

version_id

Required *

string

The version id of the policy to delete or to create mark-for-delete draft copy.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - The artifact has been deleted successfully.

resources

array

IDs of the created items.

201 - A draft version has been successfully created for deleting the published artifact.

entity

GlossaryResponsePolicyEntity

Policy entity for GET response.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Policy with sub-policies cannot be deleted. Try again after re-parenting sub-policies.

errors

array

List of errors.

trace

string

The trace id.

404 - Policy with given artifact and version ids does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves versions of a policy for the given artifact_id and status

GET /v3/policies/{artifact_id}/versions/{version_id}

Retrieval of the versions of ACTIVE state is supported.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the policy to fetch.

version_id

Required *

string

The version ID of the policy to fetch.

Query Parameters

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_policy</code></td><td></td></tr><tr><td><code>sub_policies</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>data_location_rules</code></td><td></td></tr><tr><td><code>data_protection_rules</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

Response

200 - The policy has been retrieved successfully.

entity

GlossaryResponsePolicyEntity

Policy entity for GET response.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The policy with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates policy with given artifact id and version id

PATCH /v3/policies/{artifact_id}/versions/{version_id}

Updates policy with given artifact id and version id. If the policy is in published state then first creates a draft and applies the changes to the newly created draft.

Request

Request Body

GlossaryUpdatablePolicyEntity

The policy to be updated.<br>Fields omitted will be unchanged, and fields set to null explicitly will be nulled out.<br>For multi-valued attributes & relationships, the complete list will be replaced by the given list of values.<br>Additional Example:<br><pre>{&quot;description&quot; : &quot;description updated&quot;}</pre>

categories

array

Secondary categories the artifact belongs to.

classifications

array

Relationships to classifications.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_classes

array

Relationships to data classes.

data_location_rules

array

Relationships to data location rules only. Does not include other rule relationships.

data_protection_rules

array

Relationships to data protection rules only. Does not include other rule relationships.

long_description

string

The long description of an artifact.

name

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

parent_policy

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

revision

Required *

string

The revision of the artifact. It is used for optimistic locking.

rules

array

Relationships to governance rules only. Does not include other rule relationships.

short_description

string

The short description of an artifact.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

sub_policies

array

The list of sub-policies in the policy type hierarchy.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact id of the policy to be updated.

version_id

Required *

string

The version id of the policy to be updated.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - The policy has been updated successfully.

entity

GlossaryResponsePolicyEntity

Policy entity for GET response.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The policy with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

409 - The policy was modified by another user.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates DPR rule relationships of a published policy using its artifact id and version id

PATCH /v3/policies/{artifact_id}/versions/{version_id}/data_protection_rules

Updates DPR rule relationships of a published policy using its artifact id and version id<br/>Deprecated, functionality will be replaced by new one introduced in the future releases.

Request

Request Body

Path Parameters

artifact_id

Required *

string

The artifact id of the policy to be updated.

version_id

Required *

string

The version id of the policy to be updated.

Query Parameters

Response

200 - The policy has been updated successfully.

entity

GlossaryResponsePolicyEntity

Policy entity for GET response.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The policy with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

409 - The policy was modified by another user.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

List the relationships for the specified policy

GET /v3/policies/{artifact_id}/versions/{version_id}/relationships

If the result set is larger than the <code>limit</code> parameter, it returns the first <code>limit</code> number of relationships. <br/>To retrieve the next set of relationships, call the method again by using the URI in the property <code>next</code> returned by this method.

Request

Path Parameters

artifact_id

Required *

string

The guid of the Policy

version_id

Required *

string

The versionID of the Policy

Query Parameters

type

Required *

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_policy</code></td><td></td></tr><tr><td><code>sub_policies</code></td><td></td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>data_location_rules</code></td><td></td></tr><tr><td><code>data_protection_rules</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

ca_definition_id

string

Custom relationship definition Id.

is_reversed

boolean

Is custom relationship reversed?

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_target_parent_category_name

boolean

Retrieves target parent category name of the relationship entity.

Response

200 - Success

custom_relationships

array

List of custom relationships

empty

boolean

relationships

object

Mapping of the relationship type to the paginated list of relationships

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Create relationships for an artifact in the glossary

POST /v3/policies/{artifact_id}/versions/{version_id}/relationships

If it is a published version, it creates a draft from the published version and adds the relationship to the draft version. And, it returns the details of the draft version.

Request

Request Body

GlossaryPolicyRelationshipsRequest

Relationships to be created.

categories

array

Category relationships.

classifications

array

Relationships to classifications.

data_classes

array

Relationships to data classes.

data_location_rules

array

Relationships to data location rules only. Does not include other rule relationships.

data_protection_rules

array

Relationships to data protection rules only. Does not include other rule relationships.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

parent_policy

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

rules

array

Relationships to governance rules only. Does not include other rule relationships.

sub_policies

array

The list of sub-policies in the policy type hierarchy.

terms

array

Relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact ID of the term to fetch.

version_id

Required *

string

The version ID of the term to fetch.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

201 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

409 - Unique constraint violated because of optimistic locking or some other constraint.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes a relationship from a draft policy

DELETE /v3/policies/{artifact_id}/versions/{version_id}/relationships/{relationship_id}

Deletes a relationship from a draft policy

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the policy to fetch.

version_id

Required *

string

The version ID of the policy to fetch.

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - Success

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves relationships for a given artifact type, artifact_id and artifact version_id

GET /v3/relationships

For a given artifact type, a set of predefined relationship attributes with associated artifacts are included for every relationship.

Request

Path Parameters

Query Parameters

artifact_type

Required *

string

The artifact type. Allowed values are category, glossary_term, classification, data_class, reference_data, policy, rule, custom_artifact

artifact_id

Required *

string

The id of artifact that is a part of the requested relationship.

artifact_version_id

Required *

string

The version id of artifact that is a part of the requested relationship.

relationship_type

Required *

string

Comma-separated list of relationship types.<br/><table><thead><tr><th><code>Relationship Types</code></th><th colspan=8><code>Artifact Types</code></th></tr><tr><th></th><th><code>custom_artifact</code></th><th><code>category</code></th><th><code>classification</code></th><th><code>data_class</code></th><th><code>glossary_term</code></th><th><code>policy</code></th><th><code>reference_data</code></th><th><code>rule</code></th></tr></thead><tbody><tr><td><code>all</code></td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>categories</code></td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>child</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>classifications</code></td><td>-</td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>custom</code></td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>data_classes</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>data_location_rules</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>data_protection_rules</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>grouped_assets</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_type_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_category</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_classifications</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_classifications_hierarchy</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_data_class_hierarchy</code></td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_data_classes</code></td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>has_types_term_hierarchy</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_parent_category_for</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_category</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_classification</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_data_class</code></td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_a_type_of_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>is_of_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>multi_value_mappings</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>owned_by</code></td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>parent</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>parent_category</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>parent_hierarchy</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>parent_policy</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>policies</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>-</td><td>-</td><td>+</td></tr><tr><td><code>reference_data</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>-</td><td>-</td><td>+</td></tr><tr><td><code>reference_data_values</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>related_categories</code></td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>related_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>replaced_by_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>replaces_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>rules</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>single_value_mappings</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr><tr><td><code>sub_policies</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td></tr><tr><td><code>synonym_terms</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td><td>-</td><td>-</td></tr><tr><td><code>terms</code></td><td>-</td><td>-</td><td>+</td><td>+</td><td>-</td><td>+</td><td>+</td><td>+</td></tr><tr><td><code>value_mappings</code></td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>-</td><td>+</td><td>-</td></tr></tbody></table>

type_id

string

Identifier of the governance artifact type - a unique identifier provided by the user. It defines a specific custom governance artifact type.

since

string

A filter to artifacts that have been created / updated / deleted since the given timestamp in this format: [yyyy-MM-ddTHH:mm:ss.SSSZ]

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates a rule in the glossary

POST /v3/rules

This method is used to create a new rule.

Request

Request Body

GlossaryNewRuleEntity

Rule to be created.

categories

array

Secondary categories the artifact belongs to.

classifications

array

Relationships to classifications.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_classes

array

Relationships to data classes.

long_description

string

The long description of an artifact.

name

Required *

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

policies

array

The relationships to governance policies.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

reference_data

array

The relationships to reference data sets.

rule_type

Required *

string

Currently supported: Governance.

rules

array

Relationships to governance rules only. Does not include other rule relationships.

short_description

string

The short description of an artifact.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

Path Parameters

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - The rule has been created successfully.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - UniqueConstraintViolation - rule with given name already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves rule with given artifact_id and status

GET /v3/rules/{artifact_id}/versions

This method can be used for retrieving details of an ACTIVE, PUBLISHED or DRAFT rule.

Request

Path Parameters

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

status

string

Filter by rule status.<br/><table><tbody><tr><td colspan="2">Available statuses:</td></tr><td><code>DRAFT</code></td><td>artifacts which are being created or modified and not in use</td></tr><tr><td><code>PUBLISHED</code></td><td>artifacts which are in published state (does not takes effective dates into account)</td></tr><tr><td><code>ACTIVE</code></td><td>artifacts which are published, and which effective date period includes current datetime</td></tr></tbody></table>

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - The rule has been retrieved successfully.

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

resources

array

Results of the list / search.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The rule with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes a draft or published version of an artifact

DELETE /v3/rules/{artifact_id}/versions/{version_id}

If the artifact state is <code>DRAFT</code>, then the draft version is deleted.<br/><br/> If the artifact state is <code> PUBLISHED</code>, a draft version with <code>marked_for_deletion</code> is created .<br/><br/> If the artifact state is <code> PUBLISHED</code> and workflow is skipped, then the published version is deleted.<br/><br/> If a draft artifact already exists for deletion for a published artifact, then the draft artifact is simply skipped.<br/><br/> Administrator role is required.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the rule to delete.

version_id

Required *

string

The version id of the rule to delete.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

201 - A draft version has been successfully created for deleting the published artifact.

resources

array

IDs of the created items.

204 - The artifact has been deleted successfully.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - Draft version for the given version ID does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieves rule with given guid

GET /v3/rules/{artifact_id}/versions/{version_id}

This method can be used for retrieving details of an PUBLISHED or DRAFT rule.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the rule to fetch.

version_id

Required *

string

The version ID of the rule to fetch.

Query Parameters

include_relationship

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned. If parameter is not set its default value is 'true'. This is deprecated and default will be change to 'false' in first major 2022 release.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

Response

200 - The rule has been retrieved successfully.

entity

GlossaryResponseRuleEntity

Represents a rule entity returned by REST GET methods that include the relationships as paginated lists

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The rule with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Updates rule with given id

PATCH /v3/rules/{artifact_id}/versions/{version_id}

This method is used to update rule with given id.

Request

Request Body

GlossaryUpdatableRuleEntity

The rule to be updated.<br>Fields omitted will be unchanged, and fields set to null explicitly will be nulled out.<br>For multi-valued attributes & relationships, the complete list will be replaced by the given list of values.<br>Additional Example:<br><pre>{&quot;description&quot; : &quot;description updated&quot;}</pre>

categories

array

Secondary categories the artifact belongs to.

classifications

array

Relationships to classifications.

custom_attributes

array

List of custom attributes with their values.

custom_relationships

array

Custom relationships to asset

data_classes

array

Relationships to data classes.

long_description

string

The long description of an artifact.

name

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

policies

array

The relationships to governance policies.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

reference_data

array

The relationships to reference data sets.

revision

Required *

string

The revision of the artifact. It is used for optimistic locking.

rules

array

Relationships to governance rules only. Does not include other rule relationships.

short_description

string

The short description of an artifact.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

The stewards assigned to an artifact.

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact id of the rule to be updated.

version_id

Required *

string

The version id of the rule to be updated.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - The rule has been updated successfully.

entity

GlossaryResponseRuleEntity

Represents a rule entity returned by REST GET methods that include the relationships as paginated lists

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The rule with given {guid} does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

409 - The rule was modified by another user.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

List the relationships of the given type for the specified rule

GET /v3/rules/{artifact_id}/versions/{version_id}/relationships

If the result set is larger than the <code>limit</code> parameter, it returns the first <code>limit</code> number of relationships. <br/>To retrieve the next set of relationships, call the method again by using the URI in the property <code>next</code> returned by this method.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the rule to fetch.

version_id

Required *

string

The version ID of the rule to fetch.

Query Parameters

type

Required *

string

Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_category</code></td><td></td></tr><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>rules</code></td><td></td></tr><tr><td><code>reference_data</code></td><td></td></tr><tr><td><code>policies</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

ca_definition_id

string

Custom relationship definition Id.

is_reversed

boolean

Is custom relationship reversed?

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_target_parent_category_name

boolean

Retrieves target parent category name of the relationship entity.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

Response

200 - Success

custom_relationships

array

List of custom relationships

empty

boolean

relationships

object

Mapping of the relationship type to the paginated list of relationships

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Create relationships for an artifact in the glossary

POST /v3/rules/{artifact_id}/versions/{version_id}/relationships

If it is a published version, it creates a draft from the published version and adds the relationship to the draft version. And, it returns the details of the draft version.

Request

Request Body

GlossaryRuleRelationshipsRequest

Relationships to be created.

categories

array

Category relationships.

classifications

array

The list of related classifications

data_classes

array

The list of related data classes

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

policies

array

The list of parent policies

reference_data

array

The list of related reference data sets

rules

array

The list of related rules

terms

array

The list of related business terms

Path Parameters

artifact_id

Required *

string

The artifact ID of the rule to fetch.

version_id

Required *

string

The version ID of the rule to fetch.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

201 - The relationship(s) have been created successfully.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - UniqueConstraintViolation - This Relationships is already exist

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Deletes a relationship of a rule artifact

DELETE /v3/rules/{artifact_id}/versions/{version_id}/relationships/{relationship_id}

This method can be used for deleting a relationship of a rule artifact.

Request

Path Parameters

artifact_id

Required *

string

The artifact ID of the rule to fetch.

version_id

Required *

string

The version ID of the rule to fetch.

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - The relationship of the rule artifact was successfully deleted.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The relationship for the given GUID does not exist in the glossary.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Create a reference data set

POST /v4/reference_data_sets

Create a reference data set

Request

Request Body

GlossaryNewReferenceDataSetEntityV4

categories

array

Secondary categories the artifact belongs to.

child

array

The relationships to reference data sets.

classifications

array

Relationships to classifications.

custom_relationships

array

Custom relationships to asset

long_description

string

The long description of an artifact.

name

Required *

string

The name of the artifact.

parent

array

The relationships to reference data sets.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

Stewards Ids

tags

array

The tags assigned to an artifact.

terms

array

Relationships to business terms.

type

string

Type

Path Parameters

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - The reference data set has been created successfully.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Reference data set with given name already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieve a reference data set with given artifact_id and status

GET /v4/reference_data_sets/{artifact_id}/versions

This method can be used for retrieving details of an ACTIVE, PUBLISHED or DRAFT reference data set.

Request

Path Parameters

artifact_id

Required *

string

Artifact ID or global ID of the artifact

Query Parameters

status

string

Filter by reference data set status.<br/><table><tbody><tr><td colspan="2">Available statuses:</td></tr><td><code>DRAFT</code></td><td>artifacts which are being created or modified and not in use</td></tr><tr><td><code>PUBLISHED</code></td><td>artifacts which are in published state (does not takes effective dates into account)</td></tr><tr><td><code>ACTIVE</code></td><td>artifacts which are published, and which effective date period includes current datetime</td></tr></tbody></table>

include_relationship

string

Fetch only the first page of every requested relationship. Size of the page is defined by <code>limit</code>. To fetch other relationship pages call: <i>/v4/reference_data_sets/{artifact_id}/versions/{version_id}/relationships</i>. Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_category</code></td><td></td><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td><tr><td><code>rules</code></td><td></td></tr><tr><td><code>child</code></td><td></td></tr><tr><td><code>parent</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_relationships_definitions

boolean

Fetch custom relationships definitions for reference data set with relationships count.

include_custom_column_def

boolean

Fetch Custom Column definition for reference dataset.

include_composite_key

boolean

Fetch composite key for reference dataset.

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned.If parameter is not set its default value is 'false'.

limit

integer

The maximum number of artifacts to return - must be at least 1 and cannot exceed 200. The default value is 10.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

Response

200 - The reference data set has been retrieved successfully.

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

versions

array

List of reference data set versions

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set with given {guid} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Delete a reference data set with given artifact_id and version_id

DELETE /v4/reference_data_sets/{artifact_id}/versions/{version_id}

Delete the reference data set with a given artifact_id and version_id. If the artifact is published then a workflow will be started with a draft created with label marked for deletion which on approval will result in a actual delete. If the artifact is a draft copy then the draft copy will be deleted from the system.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

move_child_to

string

Specify new reference data parent artifact_id for children of reference data that is to be removed. If move_child_to is not set all reference data children become root objects.

Response

200 - The reference data set has been deleted successfully if workflow is disabled.<br>A draft version has been successfully created for deleting the published artifact.

resources

array

IDs of the created items.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set with given {guid} does not exist.

errors

array

List of errors.

trace

string

The trace id.

409 - The reference data set is currently used in catalog assets, catalog asset columns, data governance rules or data governance policies.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieve a reference data set with given artifact_id and version_id

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}

This method will retrieve details of the specified reference data set.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

include_relationship

string

Fetch only the first page of every requested relationship. Size of the page is defined by <code>limit</code>. To fetch other relationship pages call: <i>/v4/reference_data_sets/{artifact_id}/versions/{version_id}/relationships</i>. Comma-separated list of relationship types.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_category</code></td><td></td><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td><tr><td><code>rules</code></td><td></td></tr><tr><td><code>child</code></td><td></td></tr><tr><td><code>parent</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

include_custom_relationships_definitions

boolean

Fetch custom relationships definitions for reference data set with relationships count.

include_custom_column_def

boolean

Fetch Custom Column definition for reference dataset.

include_composite_key

boolean

Fetch composite key for reference dataset.

include_custom_attributes

boolean

If this parameter is set to true, then all artifact custom attributes are returned.If parameter is not set its default value is 'false'.

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

Response

200 - The reference data set has been retrieved successfully.

entity

GlossaryResponseReferenceDataSetEntityV4

Reference Data Set entity returned by V4 REST GET method that includes the relationships as paginated list.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set with given {guid} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Update a reference data set with given artifact id and version id

PATCH /v4/reference_data_sets/{artifact_id}/versions/{version_id}

Update a reference data set with given artifact id and version id<br>To remove description please specify: <code>"long_description": null</code>.

Request

Request Body

GlossaryUpdatableReferenceDataSetEntityV4

The reference data set to be updated.<br>Fields omitted will be unchanged. For multi-valued attributes, like values and relationships, use the respective endpoints.

composite_key_order

array

New composite key order

long_description

string

The long description of an artifact.

name

string

The name of the artifact.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

reference_copy

boolean

Indicates that it is a reference copy of an artifact managed in an external metadata server.

revision

Required *

string

The revision of the artifact. It is used for optimistic locking.

state

string

The state of an artifact, such as DRAFT, ACTIVE or ARCHIVED.

steward_group_ids

array

The steward groups assigned to an artifact.

steward_ids

array

Stewards Ids

tags

array

The tags assigned to an artifact.

type

string

Type

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - The reference data set has been updated successfully.

entity

GlossaryResponseReferenceDataSetEntityV4

Reference Data Set entity returned by V4 REST GET method that includes the relationships as paginated list.

metadata

GlossaryGlossaryObjectMetadataV3

Metadata of the entity.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set with given {guid} does not exist.

errors

array

List of errors.

trace

string

The trace id.

409 - The reference data set was modified by another user.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Create Custom Column definitions

POST /v4/reference_data_sets/{artifact_id}/versions/{version_id}/custom_columns

Create Custom Column definitions<br> <ul> <li>Allowed Custom Column definitions types: <code>NUMBER, TEXT, DATE</code>.</li> <li>If a column is a composite key, it must be mandatory.</li> <li> For <code>NUMBER</code> and <code>TEXT</code> types the default values for <code>max_characters_count</code>: <ul> <li>for a composite key column: 200,</li> <li>for a normal column: 2000.</li> </ul> <li><code>validator_rds_id</code> must be an artifact id of a published RDS.</li> </ul>

Request

Request Body

GlossaryRDSCustomColumnsCreateRequest

columns

array

List of custom column Definitions.

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

Response

201 - The Custom Column(s) have been created successfully.

resources

array

resources of custom columns.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - UniqueConstraintViolation - Custom Column definition with given name already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Delete a Custom Column definition by column_id

DELETE /v4/reference_data_sets/{artifact_id}/versions/{version_id}/custom_columns/{column_id}

Delete a Custom Column definition by column_id

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

column_id

Required *

string

The column id associated with Custom Column definition.

Query Parameters

Response

204 - The Custom Column definition has been deleted successfully with specified column_id.

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieve a Custom Column definition with given column_id

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/custom_columns/{column_id}

Retrieve a Custom Column definition with given column_id

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

column_id

Required *

string

The column id associated with Custom Column definition.

Query Parameters

Response

200 - Custom Column definition with given column_id has been retrieved successfully.

entity

GlossaryRDSCustomColumnResponse

List of composite key members

metadata

GlossaryRDSCustomColumnsGetMetaData

metadata of cust columns.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The Custom Column definition with given {column_id} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Update Custom Column properties with given column_id

PATCH /v4/reference_data_sets/{artifact_id}/versions/{version_id}/custom_columns/{column_id}

Update Custom Column properties with given column_id<br>To remove RDS validator please specify: <code>"validator_rds_id": null</code>. <br>To remove description please specify: <code>"description": null</code>.

Request

Request Body

GlossaryRDSCustomColumnUpdatableEntity

Custom Column properties to be updated.<br/>Properties <code>mandatory</code>, <code>max_character_count</code> and <code>validator_rds_id</code> can be changed only when owner (reference data) has no values assigned yet.

description

string

description

mandatory

boolean

Determinate if it is mandatory

max_character_count

integer

Allowed maximum character count

name

Required *

string

name

revision

Required *

string

The revision of the artifact. It is used for optimistic locking.

type

string

Type

validator_rds_id

string

Artifact id of reference data set validating this custom column

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

column_id

Required *

string

The column id associated with Custom Column definition.

Query Parameters

Response

200 - The Custom Column definition has been updated successfully.

composite_key

boolean

Determinate if it is a part of composite key. If a column is a composite key, it must be mandatory.

description

string

description

hidden

boolean

Determines if column is hidden

id

string

Custom Column Definition Id

mandatory

boolean

Determinate if it is mandatory

max_character_count

integer

Allowed maximum character count

name

string

name

owner_rds_id

string

Artifact id of reference data set owning this custom column

revision

string

The revision of the artifact. It is used for optimistic locking.

type

string

Custom Column definitions type.

validator_rds_id

string

Artifact id of reference data set validating this custom column

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

403 - Forbidden

errors

array

List of errors.

trace

string

The trace id.

404 - The Custom Column definition with given {column_id} does not exist.

errors

array

List of errors.

trace

string

The trace id.

409 - The Custom Column was modified by another user.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

List the relationships of the given type for the specified reference data set

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/relationships

If the result set is larger than the <code>limit</code> parameter, it returns the first <code>limit</code> number of relationships. <br/>To retrieve the next set of relationships, call the method again by using the URI in the property <code>next</code> returned by this method.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

type

string

The relationship type for reference data set.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>parent_category</code></td><td></td><tr><td><code>categories</code></td><td></td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>classifications</code></td><td></td></tr><tr><td><code>data_classes</code></td><td></td><tr><td><code>rules</code></td><td></td></tr><tr><td><code>child</code></td><td></td></tr><tr><td><code>parent</code></td><td></td></tr><tr><td><code>custom</code></td><td></td></tr><tr><td><code>all</code></td><td></td></tr></tbody></table>

ca_definition_id

string

Custom relationship definition Id.

is_reversed

boolean

Is custom relationship reversed?

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

Index of the beginning of the page. The offset value can be 0 (zero) or a multiple of limit value.

all_parents

boolean

If this parameter is set, then all ancestors in the hierarchy are returned. You can use this parameter to build complete ancestor path.

include_target_parent_category_name

boolean

Retrieves target parent category name of the relationship entity.

Response

200 - Success

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

relationships

array

List of relationships

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Associate Reference data set identified by artifact_id and version_id with other governance artifacts

POST /v4/reference_data_sets/{artifact_id}/versions/{version_id}/relationships

Associate Reference data set identified by artifact_id and version_id with other governance artifacts

Request

Request Body

GlossaryReferenceDataSetRelationshipsV4

list of relationships that need to created for reference data set

categories

array

Category relationships.

child

array

New relationship with reference data set.

classifications

array

The relationships to classifications.

custom_relationships

array

Custom relationships to asset

parent

array

New relationship with reference data set.

parent_category

GlossaryNewRelationship

The parent category of the artifact.

id

string

Artifact id of the related artifact.

terms

array

The relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

201 - Relationships created for reference data set

artifact_id

string

The ID of the artifact

categories

array

secondary category relationships added

child

array

child reference data set relationships added

classifications

array

classification relationships added

custom_relationships

object

Custom relationships to asset

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

parent

array

parent reference data set relationships added

parent_category

GlossaryRelationshipCreateResponseIds

Response ID's of create relationships

parent_category_global_id

string

The global ID of the parent category of the artifact

parent_category_id

string

The artifact ID of the parent category

terms

array

term relationships added

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Relationships conflicting for reference data set

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Delete the relationship associated to reference data set with specified artifact_id and version_id

DELETE /v4/reference_data_sets/{artifact_id}/versions/{version_id}/relationships/{relationship_id}

Delete the relationship associated to reference data set with specified artifact_id and version_id

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - The reference data set relationship has been deleted successfully if workflow is disabled.<br>A draft version has been successfully created for deleting the published artifact.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

parent_category_global_id

string

The global ID of the parent category of the artifact

parent_category_id

string

The artifact ID of the parent category

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - relationship not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Import reference data values from csv file to the reference data set with specified artifact_id and version_id

POST /v4/reference_data_sets/{artifact_id}/versions/{version_id}/value_imports

Import reference data values from csv file to the reference data set with specified artifact_id and version_id<br>To check the current status of the import please use the endpoint <code>GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/value_imports/{import_id}</code>.

Request

Request Body

Input data for reference data value import: import file and parameters.

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

Response

202 - The reference data values import has been initiated successfully.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

import_info

GlossaryRDVImportInfo

RDV import info

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Request cancellation of a ongoing reference data values import process with specified import_id

DELETE /v4/reference_data_sets/{artifact_id}/versions/{version_id}/value_imports/{import_id}

Request cancellation of a ongoing reference data values import process with specified import_id

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

import_id

Required *

string

The import id for the reference data values import process.

Query Parameters

Response

204 - Cancel Request Accepted

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get current state of reference data values import process with specified import_id

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/value_imports/{import_id}

Get current state of reference data values import process with specified import_id

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

import_id

Required *

string

The import id for the reference data values import process.

Query Parameters

Response

200 - Success

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

import_info

GlossaryRDVImportInfo

RDV import info

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates relationships for reference data values

POST /v4/reference_data_sets/{artifact_id}/versions/{version_id}/value_relationships

Creates relationships for reference data values

Request

Request Body

GlossaryReferenceDataValuesRelationshipsRequestV4

value_relationships

array

Reference Data Values Relationships

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - Relationships created for reference data values

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

parent_category_global_id

string

The global ID of the parent category of the artifact

parent_category_id

string

The artifact ID of the parent category

value_relationships

array

List of Reference Data Values with relationships.

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Relationships conflicting for reference data value

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieve a reference data value relationships with given reference data set artifact_id and version_id and reference data value artifact_id

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/value_relationships/{rdv_artifact_id}

Retrieve a reference data value relationships with given reference data set artifact_id and version_id and reference data value artifact_id

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

rdv_artifact_id

Required *

string

The artifact id of reference data value.

Query Parameters

type

Required *

string

Only one relationship type can be selected.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>parent_hierarchy</code></td><td></td></tr><tr><td><code>child</code></td><td></td></tr><tr><td><code>single_value_mappings</code></td><td></td></tr><tr><td><code>multi_value_mappings</code></td><td></td></tr><tr><td><code>value_mappings</code></td><td></td></tr></tbody></table>

limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

The index of the first matching relationship to include in the result.

Response

200 - The reference data value relationships has been retrieved successfully.

artifact_id

string

Artifact ID

child

GlossaryReferenceDataValueChildrenResponseListV4

Presents a paginated list of Reference Data Value children

code

string

Code

composite_key_values

array

Values of custom columns being part of composite key

custom_column_values

array

Values of custom columns not being part of composite key

description

string

Description

has_children

boolean

Indicates if reference data value has at least one child

modified

string

Date and time of the last modification of the RDV

multi_value_mappings

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

parent

GlossaryReferenceDataValueDetailsV4

V4 API Reference data value details

parent_hierarchy

array

List of parent reference data values in hierarchical order

parent_value_artifact_id

string

Parent Artifact ID

revision

string

Revision, must be provided for reference data value modification

single_value_mappings

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

terms

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

value

string

Value

value_mappings

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set with given {guid} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Search for reference data value(s) details with given RDS artifact_id and version_id using specific code or text value filter

POST /v4/reference_data_sets/{artifact_id}/versions/{version_id}/value_search

Search for reference data value(s) details with given RDS artifact_id and version_id using specific code or text value filter<br>Possible values for <code>code_filter</code>: <code>CODE_EQUALS</code>, <code>CODE_OR_VALUE_CONTAINS</code>, <code>CODE_STARTS_WITH</code>.<br> The <code>include_relationships</code> is a comma-separated list of relationship types for reference data value<br> <table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>parent_hierarchy</code></td><td></td></tr><tr><td><code>child</code></td><td></td></tr><tr><td><code>single_value_mappings</code></td><td></td></tr><tr><td><code>multi_value_mappings</code></td><td></td></tr><tr><td><code>value_mappings</code></td><td></td></tr></tbody></table>

Request

Request Body

GlossaryRDVSearchParameters

filter_type

Required *

string

filter_value

Required *

string

Reference data value search filter value

include_custom_column_values

boolean

Fetch custom column values for reference data set values.

include_parent_value_details

boolean

Fetch parent reference data details for reference data set values.

include_relationship

string

Comma-separated list of relationship types for reference data value.<br/>

limit

integer

The maximum number of values to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

The index of the first matching value to include in the result.

relationship_limit

integer

The maximum number of relationships to return - must be at least 1 and cannot exceed 200. The default value is 10.

sort

string

Value on which results need to be sorted, currently only CODE is supported.Prefix hyphen (-) for descending order, applicable only for reference data values search.

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

Response

200 - The reference data value(s) details have been retrieved successfully.

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

array

List of reference data values

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set with given {guid} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieve reference data value(s) details with given RDS artifact_id and version_id and for specific reference data value artifact_ids

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values

Retrieve reference data value(s) details with given RDS artifact_id and version_id and for specific reference data value artifact_ids

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

rdv_artifact_ids

string

Comma-separated list of artifact ids of reference data values. If not provided, all values of given reference data set will be returned.

include_relationship

string

Comma-separated list of relationship types for reference data value.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>parent_hierarchy</code></td><td></td></tr><tr><td><code>child</code></td><td></td></tr><tr><td><code>single_value_mappings</code></td><td></td></tr><tr><td><code>multi_value_mappings</code></td><td></td></tr><tr><td><code>value_mappings</code></td><td></td></tr></tbody></table>

include_parent_value_details

boolean

Fetch parent reference data details for reference data set values.

include_custom_column_values

boolean

Fetch custom column values for reference data set values.

roots_only

boolean

Fetch root values (values with no parent assigned) for reference data set.

limit

integer

The maximum number of hierarchy children to return - must be at least 1 and cannot exceed 200. The default value is 10.

offset

integer

The index of the first matching hierarchy children to include in the result.

relationship_limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

sort

string

Value on which results need to be sorted, currently only CODE is supported.Prefix hyphen (-) for descending order, applicable only for reference data values search.

Response

200 - The reference data value(s) details have been retrieved successfully.

count

integer

The total number of items that matches the given criteria.

first

GlossaryGlossaryResourceLinkV3

Represents an html link.

last

GlossaryGlossaryResourceLinkV3

Represents an html link.

limit

integer

The limit parameter passed to the list / search method.

missing_rdv_artifact_ids

array

Reports requested rdv_artifact_ids that do not exist under given version of reference data set

next

GlossaryGlossaryResourceLinkV3

Represents an html link.

offset

integer

Offset used in the list / search method.

prev

GlossaryGlossaryResourceLinkV3

Represents an html link.

values

array

List of reference data values

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set or value with given id does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Remove or update reference data values for the specified reference data set

PATCH /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values

Remove or update reference data values for the specified reference data set

Request

Request Body

Valid Json-patch body with either delete or replace operations.<br>Note: Precision will be lost if long value has more than 15-16 digits as JSON parser will map to double type regardless of whether it is used for integer, long or floating-point numbers. To Preserve all digits pass the value as a string.

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

Response

200 - The reference data value(s) have been added and/or updated and/or deleted successfully.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

values

array

Reference data values

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Reference data value with given code already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Add reference data value to the specified reference data set

POST /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values

Add reference data value to the specified reference data set

Request

Request Body

GlossaryNewReferenceDataValueEntityV4

code

string

Code of reference data value.

custom_column_values

array

List of custom column values

description

string

Description

parent_value_artifact_id

string

Artifact id of parent reference data value

value

string

Value of reference data value

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

201 - The reference data value(s) have been added successfully.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

values

array

Reference data values

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Reference data value with given composite key already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Add or update reference data values for the specified reference data set

PUT /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values

Add or update reference data values for the specified reference data set

Request

Request Body

GlossaryCreateUpdateReferenceDataValuesListV4

values

array

Reference data values

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - The reference data values have been added and/or updated successfully.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

values

array

Reference data values

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

201 - The reference data value(s) have been added successfully.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

values

array

Reference data values

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Reference data value with given composite key already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Exports values of a specified reference data set with specified artifact_id and version_id to a csv file

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values/export

Exports values of a specified reference data set with specified artifact_id and version_id to a csv file<br>Only Code, Value and Composite Key columns will be exported by default, use parameters to export additional properties.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

Query Parameters

composite_key_only

boolean

Export reference data values code and composite key only. Note: If composite key is not defined, only code will be exported.

include_description

boolean

Export reference data value description.

include_custom_column_def_artifact_ids

string

Comma-separated list of custom column definition artifact ids. Use <code>all</code> to export all custom column definition values.

include_parent_value

boolean

Export reference data value parent.

include_relationship

string

Comma-separated list of relationship types for reference data value.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>value_mappings</code></td><td></td></tr></tbody></table>

include_physical_key

boolean

Export additional column representing reference data physical key (code + composite key values), columns are delimited with '|'.

Response

200 - The reference data set has been retrieved successfully.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set with given {guid} does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Delete the reference data value identified by its artifact id in the Reference Data Set with specified artifact_id and version_id

DELETE /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values/{rdv_artifact_id}

Delete the reference data value identified by its artifact id in the Reference Data Set with specified artifact_id and version_id. If the reference data set is published then a workflow will be started with a draft created from which the value will be deleted. If the artifact is a draft copy then the value from the draft copy will be removed.

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

rdv_artifact_id

Required *

string

The artifact id of reference data value.

Query Parameters

move_child_to

string

Specifies behavior when deleted reference data value has children. Options are:<ul><li> root - make them root values</li><li> immediate_parent - move them to the parent of deleted value </li><li> other_value - move them to specified value (you have to specify it in <i>target_value_artifact_id</i> parameter) </li></ul>

target_value_artifact_id

string

Target reference data value (to become parent for children of deleted one) artifact id (note: it has to "belong" to same reference data set as deleted value

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - The reference data value has been deleted successfully.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

parent_category_global_id

string

The global ID of the parent category of the artifact

parent_category_id

string

The artifact ID of the parent category

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set or value with given id does not exist.

errors

array

List of errors.

trace

string

The trace id.

409 - The reference data value is currently used in catalog assets, catalog asset columns, data governance rules or data governance policies.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Retrieve reference data value(s) details with given RDS artifact_id and version_id and for specific reference data value artifact_ids

GET /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values/{rdv_artifact_id}

Retrieve reference data value(s) details with given RDS artifact_id and version_id and for specific reference data value artifact_ids

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

rdv_artifact_id

Required *

string

The artifact id of reference data value.

Query Parameters

include_custom_column_values

boolean

Fetch custom column values for reference data set values.

include_relationship

string

Comma-separated list of relationship types for reference data value.<br/><table><tbody><tr><td colspan="2">Available types:</td></tr><tr><td><code>terms</code></td><td></td></tr><tr><td><code>parent_hierarchy</code></td><td></td></tr><tr><td><code>child</code></td><td></td></tr><tr><td><code>single_value_mappings</code></td><td></td></tr><tr><td><code>multi_value_mappings</code></td><td></td></tr><tr><td><code>value_mappings</code></td><td></td></tr></tbody></table>

include_parent_value_details

boolean

Fetch parent reference data details for reference data set values.

relationship_limit

integer

The maximum number of relationship to return - must be at least 1 and cannot exceed 200. The default value is 10.

Response

200 - The reference data value(s) details have been retrieved successfully.

artifact_id

string

Artifact ID

child

GlossaryReferenceDataValueChildrenResponseListV4

Presents a paginated list of Reference Data Value children

code

string

Code

composite_key_values

array

Values of custom columns being part of composite key

custom_column_values

array

Values of custom columns not being part of composite key

description

string

Description

has_children

boolean

Indicates if reference data value has at least one child

modified

string

Date and time of the last modification of the RDV

multi_value_mappings

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

parent

GlossaryReferenceDataValueDetailsV4

V4 API Reference data value details

parent_hierarchy

array

List of parent reference data values in hierarchical order

parent_value_artifact_id

string

Parent Artifact ID

revision

string

Revision, must be provided for reference data value modification

single_value_mappings

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

terms

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

value

string

Value

value_mappings

GlossaryReferenceDataValueRelationshipResponseListV4

Presents a paginated list of Reference Data Value relationships

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - The reference data set or value with given id does not exist.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Update reference data value in the specified reference data set

PATCH /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values/{rdv_artifact_id}

Update reference data value in the specified reference data set<br> To remove parent RDV please specify: <code>"parent_value_artifact_id": null</code>.

Request

Request Body

GlossaryUpdateReferenceDataValueEntityV4

custom_column_values

array

List of custom column values

description

string

Description

parent_value_artifact_id

string

Artifact id of parent reference data value

revision

string

The revision of the artifact. It is used for optimistic locking.

value

string

Value of reference data value

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

rdv_artifact_id

Required *

string

The artifact id of reference data value.

Query Parameters

skip_workflow_if_possible

boolean

If configuration permits, the published artifact will be updated by skipping the workflow. For details refer to documentation.

Response

200 - The reference data value has been updated successfully.

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

values

array

Reference data values

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Reference data value with given composite key already exists.

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Creates relationships for reference data value

POST /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values/{rdv_artifact_id}/value_relationships

Creates relationships for reference data value

Request

Request Body

GlossaryReferenceDataValueRelationshipsRequestV4

child

array

The artifact id to other reference data values as child.

multi_value_mappings

array

The relationships to other reference data values as multi value mapping.

rdv_artifact_id

string

Artifact id of target reference data value

single_value_mappings

array

The relationship to other reference data value as single value mapping.

terms

array

The relationships to business terms.

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

rdv_artifact_id

Required *

string

The artifact id of reference data value.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the artifact will be created in the published state by skipping the workflow. For details refer to documentation.

Response

201 - Relationships created for reference data value

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

parent_category_global_id

string

The global ID of the parent category of the artifact

parent_category_id

string

The artifact ID of the parent category

value_relationships

array

List of Reference Data Values with relationships.

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

409 - Relationships conflicting for reference data set

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Delete the relationship associated to reference data value identified by its artifact id in the Reference Data Set with specified artifact_id and version_id

DELETE /v4/reference_data_sets/{artifact_id}/versions/{version_id}/values/{rdv_artifact_id}/value_relationships/{relationship_id}

Delete the relationship associated to reference data value identified by its artifact id in the Reference Data Set with specified artifact_id and version_id

Request

Path Parameters

artifact_id

Required *

string

The artifact id of the reference data set.

version_id

Required *

string

The version id of the reference data set or specify ACTIVE (it represents a current active published version) or PUBLISHED (it represents a published version that is active now or will be active in the future).

rdv_artifact_id

Required *

string

The artifact id of reference data value.

relationship_id

Required *

string

The artifact ID of the relationship to be deleted.

Query Parameters

skip_workflow_if_possible

boolean

If workflow template configuration permits, the published artifact will be deleted by skipping the workflow. For details refer to documentation.

Response

200 - Deleted the relationship

artifact_id

string

The ID of the artifact

entity_type

string

The type of the artifact

global_id

string

The global ID of the artifact

href

string

Resource url

parent_category_global_id

string

The global ID of the parent category of the artifact

parent_category_id

string

The artifact ID of the parent category

version_id

string

The version ID of the artifact

workflow_id

string

The workflow ID of the artifact

400 - Bad Request

errors

array

List of errors.

trace

string

The trace id.

401 - Unauthorized

errors

array

List of errors.

trace

string

The trace id.

404 - relationship not found

errors

array

List of errors.

trace

string

The trace id.

500 - Internal Server Error

errors

array

List of errors.

trace

string

The trace id.

Get Registration with synchronization status for reporting service

GET /v3/reporting/{tenant_id}/register

Get Registration with synchronization status for reporting service.

Request

Response

200 - Get Registration with synchronization status for reporting service

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

500 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Register for reporting service

POST /v3/reporting/{tenant_id}/register

Register the tenant for reporting service. Register tenant has two key properties: 1) platform catlog_id and connection_id which should have database details to store tenant data for reporting purpose, and 2) schema zoning information which specifies tenant reporting data zoning information.

Request

Request Body

IkcReportingTenantRegistrationInput

connection details platform_catalog_id, platform_connection_id, global schema and zoned schema

data_protection_rules

IkcReportingTenantDPRInput

Data protection rules report settings

enabled

Required *

boolean

Is DPR enabled for reporting

workflows

IkcReportingTenantWFInput

Workflow report settings

enabled

Required *

boolean

Is Workfloe enabled for reporting

user_profiles

IkcReportingTenantUserProfileInput

User profile report settings

enabled

Required *

boolean

Is User profile enabled for reporting

schema_zone_mapping

array

schema zone mapping

config

IkcReportingTenantReportingConfig

confog

max_rest_calls_per_minute

integer

Max rest calls per minute to a IKC service

max_users_to_crawl

integer

Max users to crawl, beyond that will be lazy crawl

options

IkcReportingTenantReportingOptions

options

catalog_auto_register

boolean

auto register new catalogs

project_auto_register

boolean

auto register new projects

global_schema_name

Required *

string

database schema name

platform_asset_catalog_id

Required *

string

platform catalog id

platform_asset_connection_id

Required *

string

platform connection id

Response

201 - Registered tenant for reporting service

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Delete Registration for reporting service (if synchronization not started)

DELETE /v3/reporting/{tenant_id}/register

Delete Registration for reporting service (if synchronization not started) This action will delete registration only for IKC artifacts which were registered recently (via POST or PATCH) and have not been started yet.

Request

Response

200 - Delete/Reset draft registration of the IKC tenant for synchronization

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Update Registration for reporting service

PATCH /v3/reporting/{tenant_id}/register

update the catalog_ids, categories, project_ids. Update the registered tenant for reporting service with new catalog_ids, categories, project_ids.

Request

Request Body

Response

202 - Updated registered tenant details for reporting service

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Start synchronization of IKC data into reporting database

POST /v3/reporting/{tenant_id}/start

Start synchronization of IKC data from IKC to reporting database for given tenant_id. This action will start initial crawl only for IKC artifacts which were registered recently (via POST or PATCH) and have not been started yet.

Request

Path Parameters

tenant_id

Required *

string

Tenant Id

Query Parameters

soft_restart

string

Soft Restart

failed_only

string

Soft Restart - Only failed zones

include_passed_zone_ids

string

Soft Restart - All failed zones Plus a list of successfull Zone Ids (,separated) - catalog_id,project_id,category_id,data_protection_rules,user_profiles,workflows

Response

201 - Sync Initiated for given tenant_id.

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Pause synchronization of IKC data into reporting database

POST /v3/reporting/{tenant_id}/pause

Pause synchronization of IKC data into reporting database for given tenant_id.

Request

Path Parameters

tenant_id

Required *

string

Tenant Id

Query Parameters

Response

201 - Pause Sync request accepted for given tenant_id.

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Resume synchronization of IKC data into reporting database

POST /v3/reporting/{tenant_id}/resume

Resume synchronization of IKC data into reporting database for given tenant_id after it was paused.

Request

Path Parameters

tenant_id

Required *

string

Tenant Id

Query Parameters

Response

201 - Resume Sync request accepted for given tenant_id.

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Stop synchronization of IKC data into reporting database

POST /v3/reporting/{tenant_id}/stop

Stop synchronization of IKC data into reporting database and reset the status of all the process to AWAITING START for given tenant_id.

Request

Path Parameters

tenant_id

Required *

string

Tenant Id

Query Parameters

Response

201 - Stop Sync request accepted for given tenant_id.

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Reset Registration for reporting service (Stop Sync and Delete Registration)

POST /v3/reporting/{tenant_id}/reset

Reset IKC tenant registeration for synchronization of IKC data into reporting database for given tenant_id.

Request

Path Parameters

tenant_id

Required *

string

Tenant Id

Query Parameters

Response

201 - Reset Sync request accepted for given tenant_id.

platform_asset_catalog_id

string

platform catalog id

platform_asset_connection_id

string

platform connection id

global_schema_name

string

database schema name

tenant_registered_by

string

tenant registered by id

user_apikey

boolean

User API key available and active or not (Cloud only)

status

string

Overall Status-AWAITING START/IN QUEUE/INITIAL SYNC IN PROGRESS/CONCLUDING INITIAL SYNC FOR (DPR/GLOSSARY/CATALOGS/PROJECTS)/ACTIVE/PAUSED/RESUMING/FAILED/AWAITING STOP/AWAITING RESET

last_crawl_started_at

string

last crawl start timestamp

last_updated_at

string

last updated timestamp

init_sync_state

IkcReportingTenantInitialSyncState

initial syn status

sync_state

IkcReportingTenantSyncState

sync status

error

IkcReportingBiDataSyncResponse

Bidata Sync response for an object i.e. asset, artifact etc.

config

IkcReportingTenantReportingConfig

confog

options

IkcReportingTenantReportingOptions

options

global

IkcReportingGlobalServiceStatus

global

schema_zone_mapping

IkcReportingZonedServiceStatus

Status of zoned Services (catalog/project/glossary)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Get list of sample queries

GET /v3/reporting/{tenant_id}/samples

Get list of sample queries

Request

Path Parameters

tenant_id

Required *

string

Tenant Id

Query Parameters

type

string

Sample Type

Response

200 - Get list of sample queries

examples

array

Sample Queries

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

500 - IKC BiData Reporting Service is not available now please try after some time

trace

string

errors

array

Get a specific Knowledge Accelerator

GET /v1/knowledge_accelerators/{id}

Supply a Knowledge Accelerator id, in order to get detailed information, including contained items that can be imported, statistics and dependencies

Request

Path Parameters

id

Required *

string

The Knowledge Accelerator id

Query Parameters

Response

200 - Success

id

string

The identifier of the knowledge accelerator, or the knowledge accelerator item

name

string

The name of this knowledge accelerator item

definition

string

The definition that helps describe the content within the knowledge accelerator item

type

string

The type of the knowledge accelerator item. If the item is of type glossary, then the type of the glossary will further be indicated, for example "glossary_iav" (Glossary that is of type, Industry Alignment Vocabulary)

format

string

The format of the content that is stored in this knowledge accelerator item

format_version

string

The version of the tool or service that the format is compatible with

version

string

The version of this knowledge accelerator item. Typically this will only change if the underlying content has changed. If the knowledge accelerator is at a certain version, it would be expected that there would be at least one knowledge accelerator item at that same version

version_definition

string

The definition that might optionally accompany this new version of the content, which would summarise the main changes from prior version.

stats

KnowledgeAcceleratorsKAStats

Holds statistics for the knowledge accelerator or item. If in existence for an item, then it will contain at least 1 statistic, for example count of categories.

mandatory

boolean

If a knowledge accelerator item is depended on by another item, then this property indicates if it should be considered mandatory. Default value is false.

contains

array

A knowledge accelerator can contain 1 or more items. Also in theory a knowledge accelerator item itself, can contain other items and so on

depends_on

array

If an item depends on one or more items within the same knowledge accelerator, this holds those item ids

derived_from

array

If an item is derived from one or more items within the same knowledge accelerator, this holds those item ids

401 - Unauthorized

trace

string

errors

array

404 - Not found

trace

string

errors

array

Import specified Knowledge Accelerator items into the glossary

POST /v1/knowledge_accelerators/{ka_id}/import_items

Import the specified Knowledge Accelerator items into glossary. By default this will import all dependent items

Request

Path Parameters

ka_id

Required *

string

The Knowledge Accelerator id

Query Parameters

ids

Required *

string

The ids of the Knowledge Accelerator items to import, for example 'base'. Use the comma delimiter when listing multiple item ids, for example 'ccpa,gdpr'. Only one item allowed if item is of type glossary_scope

merge_option

Required *

string

The merge option to be used when importing into the glossary, valid values: <br/><br/>all - imported values will replace existing values in catalog<br/>specified - imported values that are not empty replace existing values in catalog<br/>empty - imported values replace only empty values in catalog<br/>

dependencies

string

Indicates which dependencies of the item ids specified should also be imported, valid values: <br/><br/>all - imports the specified items that the user selects, imports all the items that the selected item depends on, irrespective of whether they already exist in glossary (Note, this may overwrite user made changes in the glossary).<br/>necessary - imports specified items that the user selects, imports items that are considered mandatory for the specified item, and imports other related items the specified items depend on that are not already imported.<br/>mandatory - imports the specified items that the user selects, and items that are considered mandatory for the specified item.<br/>

do_import

boolean

Indicates whether the import should be done, valid values: <br/><br/>false - will do all the logic checking and indicate what is going to be imported, useful for checking in advance of actually doing the import<br/>true - at the end of logic checking will trigger the import and return a process id to the user<br/>

Response

202 - Accepted

message

string

A summary message of the import status

process_id

string

A URI for checking the status of the import process

import_evaluation

KnowledgeAcceleratorsKAImportEvaluation

An import evaluation for a specific Knowledge Accelerator.

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

404 - Not found

trace

string

errors

array

Get what Knowledge Accelerator items are currently imported into glossary

GET /v1/knowledge_accelerators/import_items

Information on what Knowledge Accelerator items are imported into glossary if any; this will include information as to whether imported version is current

Request

Response

200 - Success

message

string

A summary message of the import status

import_evaluation

array

An import evaluation for a specific Knowledge Accelerator.

401 - Unauthorized

trace

string

errors

array

Get all Knowledge Accelerators

GET /v1/knowledge_accelerators

Detailed information on each Knowledge Accelerator, including contained items that can be imported, statistics and dependencies

Request

Response

200 - Success

count

integer

A count of the Knowledge Accelerators that are available

knowledge_accelerators

array

A listing of the Knowledge Accelerators and their contained items that are available for importing into the IKC glossary

401 - Unauthorized

trace

string

errors

array

Get status of a bulk enrichment operation

GET /metadata_enrichment/v3/bulk_enrichment_operations/{id}

Retrieves the status and details of an asynchronous bulk enrichment operation such as modifying terms, classifications, data classes, review status, or AI-generated enrichments across multiple assets. Used to poll operation progress and retrieve results including success/failure counts and per-item error details. Supports partial success scenarios.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - OK

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

Get status of a data scope operation

GET /metadata_enrichment/v3/data_scope_operations/{id}

Retrieves the status and details of an asynchronous data scope operation such as creating metadata enrichment assets, updating data scopes, or deleting assets. Used to poll operation progress and retrieve results of long-running operations. Operations can be in states: queued, running, completed, or failed.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - OK

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmDataScopeOperationDetails

The result of a data scope operation on data assets.

List all metadata enrichment assets in a project

GET /metadata_enrichment/v3/metadata_enrichment_assets

Retrieves all metadata enrichment assets within a specified project.<p>Only project members are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - OK

metadata_enrichment_assets

array

A list of metadata enrichment asset summaries.

Creates a new metadata enrichment asset

POST /metadata_enrichment/v3/metadata_enrichment_assets

Creates a new metadata enrichment asset that represents a collection of data assets to be enriched with metadata. This operation creates the asset container only - enrichment jobs must be created separately using the createMetadataEnrichmentJob API.<p>A background process is started to connect the data assets specified in the data_scope property to the new metadata enrichment asset. The response contains the status of this long-running operation with a link to the operations resource for polling the status.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mdeAreaId}.create_enrichment_area</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmMdeAssetPrototype

tags

array

A list of tags to assign.

name

Required *

string

The name of the metadata enrichment asset.

description

string

The description of the metadata enrichment asset.

global_settings

MdesmMdeAssetGlobalSettingsPrototype

Initialization information for the global settings of metadata enrichment asset.

disable_all_job_run_notifications

boolean

Flag that indicates whether notifications for all job runs should be disabled.

job

Required *

MdesmMdeAssetEnrichmentJobPrototype

Initialization information for the metadata enrichment asset enrichment job information.

name

Required *

string

The name of the metadata enrichment job resource.

schedule

string

The schedule of the metadata enrichment job in cron format.

schedule_info

object

Initialization information for the metadata enrichment asset job schedule information.

retention_policy

object

The job's job run retention settings

data_scope

MdesmMdeAssetDataScopePrototype

Initialization information for a metadata enrichment asset's data scope definition.

enrichment_assets

array

A list of data asset identifiers to add to a new Metadata Enrichment Asset.

container_assets

object

A set of containers containing assets. Currently, only containers of type metadata import asset are supported.

objective

Required *

MdesmMdeAssetObjectivePrototype

Initialization information for metadata enrichment asset objectives.

enrichment_options

Required *

object

Enrichment options of a metadata enrichment asset.

governance_scope

Required *

array

A list of categories to be used for metadata enrichment.

sampling

Required *

object

Initialiation information for the metadata enrichment asset sampling options.

data_quality

object

Initialization information for the data quality objectives of a metadata enrichment.

term_assignment

object

Term assignment objective prototype of a metadata enrichment asset.

datascope_of_reruns

Required *

string

The type of data scope to be used in metadata enrichment job reruns after the initial full enrichment. This parameter is ignored for selective and ad hoc job runs.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmDataScopeOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Get a metadata enrichment asset by ID

GET /metadata_enrichment/v3/metadata_enrichment_assets/{id}

Retrieves detailed information about a specific metadata enrichment asset within a project. The asset represents a collection of data assets that can be enriched with metadata through various enrichment jobs such as profiling, classification, term assignment, and relationship analysis.<p>The response includes complete asset configuration, all associated enrichment job references, key analysis and publish job details, global settings, and metadata such as creation and modification timestamps.</p><p>All project members are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - OK

href

string

The location URL to retrieve this resource.

id

string

The unique identifier of this resource.

project_id

string

The unique identifier of the project.

last_updated_at

string

The last update date and time in UTC in ISO 8601 format.

last_updater_id

string

Unique identifier of the user that modified the resource.

last_accessed_at

string

The last access date and time in UTC in ISO 8601 format.

last_accessor_id

string

Unique identifier of the last user that accessed the resource.

creator_id

string

Unique identifier of the user that created the resource.

created_at

string

The creation date and time in UTC in ISO 8601 format.

name

string

The name of the metadata enrichment asset.

description

string

The description of the metadata enrichment asset.

global_settings

MdesmMdeAssetGlobalSettings

Global settings for a metadata enrichment asset.

key_analysis

MdesmMdeAssetKeyAnalysis

Key Analysis information of metadata enrichment asset.

publish_job

MdesmMdeAssetPublishJob

Publish job information of a metadata enrichment asset.

tags

array

A list of tags to assign.

status

string

The status of a metadata enrichment asset.

ad_hoc_job_id

string

The unique identifier of internal job definition used for ad-hoc enrichments.

enrichment_jobs

object

A map of related metadata enrichment jobs

version

string

The version of the MDE asset.

upgrade_status

string

The upgrade status of the metadata enrichment asset. Only present on assets that have been through the upgrade process. "started" means decorator migration has not yet completed successfully. "partially_completed" means some data asset decorators were migrated, some failed. "completed" means all data asset decorators were successfully migrated.

Delete a metadata enrichment asset and its enrichment jobs

DELETE /metadata_enrichment/v3/metadata_enrichment_assets/{id}

Initiates deletion of a metadata enrichment asset and all associated enrichment jobs. The API validates that all jobs can be deleted (no active job runs) before proceeding.<p>Since disconnecting assigned assets happens asynchronously, the API immediately returns an operation resource containing the current status and a URL. This URL can be polled to track the deletion progress until completion.</p><p>The background process deletes all associated enrichment jobs, removes link information from assigned data assets, and deletes the metadata enrichment asset from CAMS.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mdeAreaId}.delete_enrichment_area</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmDataScopeOperationDetails

The result of a data scope operation on data assets.

Updates certain details of a metadata enrichment asset

PATCH /metadata_enrichment/v3/metadata_enrichment_assets/{id}

Updates certain details of a metadata enrichment asset including name, description, tags, and global settings. This does not include modifying the data scope or enrichment job configurations - these require separate API calls. Uses JSON Merge Patch (RFC 7396) semantics: omitted fields are not modified, null values remove optional fields, and present values replace existing values.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - OK

href

string

The location URL to retrieve this resource.

id

string

The unique identifier of this resource.

project_id

string

The unique identifier of the project.

last_updated_at

string

The last update date and time in UTC in ISO 8601 format.

last_updater_id

string

Unique identifier of the user that modified the resource.

last_accessed_at

string

The last access date and time in UTC in ISO 8601 format.

last_accessor_id

string

Unique identifier of the last user that accessed the resource.

creator_id

string

Unique identifier of the user that created the resource.

created_at

string

The creation date and time in UTC in ISO 8601 format.

name

string

The name of the metadata enrichment asset.

description

string

The description of the metadata enrichment asset.

global_settings

MdesmMdeAssetGlobalSettings

Global settings for a metadata enrichment asset.

key_analysis

MdesmMdeAssetKeyAnalysis

Key Analysis information of metadata enrichment asset.

publish_job

MdesmMdeAssetPublishJob

Publish job information of a metadata enrichment asset.

tags

array

A list of tags to assign.

status

string

The status of a metadata enrichment asset.

ad_hoc_job_id

string

The unique identifier of internal job definition used for ad-hoc enrichments.

enrichment_jobs

object

A map of related metadata enrichment jobs

version

string

The version of the MDE asset.

upgrade_status

string

The upgrade status of the metadata enrichment asset. Only present on assets that have been through the upgrade process. "started" means decorator migration has not yet completed successfully. "partially_completed" means some data asset decorators were migrated, some failed. "completed" means all data asset decorators were successfully migrated.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies asset classification assignments

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_assets_classifications

Executes one of the following operations for all given assets:<ul><li><b>assign</b> classifications</li><li><b>remove</b> classifications</li><li><b>remove_all</b> classifications</li></ul><p>For the modification_types 'assign' and 'remove', the property 'classifications' must be set and contain at least one valid classifications identifier.For the modification_type 'remove_all', the property 'classifications' must not be set.</p><p>This API will trigger a recoverable background process that is backed up by a database entry. The response will be the status of that long running operation containing a link to the operations resource. That resource can be used to poll the status of the operation.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mdeAreaId}.modify_assets_classifications</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmModifyAssetsClassificationsRequest

modification_type

Required *

string

The type of enrichment modification operation.

data_asset_ids

Required *

array

The identifiers of the data assets to be modified.

classifications

array

The identifiers of the classifications.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies asset term assignments

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_assets_terms

Asynchronously modifies term assignments for multiple assets. Processes in background and returns operation status.<p><b>Supported Operations:</b></p><ul><li><b>assign</b> - Add terms to assets</li><li><b>remove</b> - Remove specific terms</li><li><b>remove_all</b> - Remove all terms</li><li><b>remove_generated</b> - Remove AI-generated terms only</li></ul><p><b>Request Requirements:</b></p><ul><li>For 'assign' and 'remove': property 'terms' must contain at least one valid term identifier</li><li>For 'remove_all' and 'remove_generated': property 'terms' must not be set</li></ul><p><b>Execution:</b></p><ul><li>Triggers recoverable background process backed by database</li><li>Returns operation status with link for polling</li><li>Sends RabbitMQ notification when the operation starts (status <b>started</b>) and upon completion (status <b>success</b> or <b>failed</b>) to topic: <b>v3.metadata_enrichment.{mde-asset-id}.modify_assets_terms</b></li></ul><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmModifyAssetsTermsRequest

modification_type

Required *

string

The type of enrichment modification operation.

data_asset_ids

Required *

array

The identifiers of the data assets to be modified.

terms

array

The identifiers of the term.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies column classification assignments

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_columns_classifications

Executes one of the following operations for all given columns:<ul><li><b>assign</b> classifications</li><li><b>remove</b> classifications</li><li><b>remove_all</b> classifications</li></ul><p>For the modification types 'assign' and 'remove', the property 'classifications' must be set and contain at least one valid classification identifier. For the modification type 'remove_all', the property 'classifications' must not be set.</p><p>This API will trigger a recoverable background process that is backed up by a database entry.The response will be the status of that long running operation containing a link to the operation resource. That resource can be used to poll the status of the operation.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mdeAreaId}.modify_columns_classifications</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmModifyColumnsClassificationsRequest

modification_type

Required *

string

The type of enrichment modification operation.

columns

array

The identifiers of the columns to be modified grouped by their asset.

classifications

array

The identifiers of the classifications.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies column term assignments

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_columns_terms

Asynchronously modifies term assignments for multiple columns. Processes in background and returns operation status.<p><b>Supported Operations:</b></p><ul><li><b>assign</b> - Add terms to columns</li><li><b>remove</b> - Remove specific terms</li><li><b>remove_generated</b> - Remove AI-generated terms only</li></ul><p><b>Note:</b> 'remove_all' operation is not supported for columns.</p><p><b>Request Requirements:</b></p><ul><li>For 'assign' and 'remove': property 'terms' must contain at least one valid term identifier</li><li>For 'remove_generated': property 'terms' must not be set</li></ul><p><b>Execution:</b></p><ul><li>Triggers recoverable background process backed by database</li><li>Returns operation status with link for polling</li><li>Sends RabbitMQ notification when the operation starts (status <b>started</b>) and upon completion (status <b>success</b> or <b>failed</b>) to topic: <b>v3.metadata_enrichment.{mde-asset-id}.modify_columns_terms</b></li></ul><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmModifyColumnsTermsRequest

modification_type

Required *

string

The type of enrichment modification operation.

columns

array

The identifiers of the columns to be modified grouped by their asset.

terms

array

The identifiers of the term.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Publish enriched assets to catalog

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/start_publishing

Publishes all or a subset of enriched data assets from a metadata enrichment asset to a target catalog. This makes the enriched metadata available for broader consumption and governance. The publishing process copies enriched metadata to the catalog, preserving enrichment results such as terms, classifications, and data quality metrics.<p>The request will be accepted only if all assets specified in the request are available, accessible, and assigned to the given metadata enrichment asset.</p><p>After successful validation, the operation calls the Jobs Service to trigger a new job run. The Jobs service delegates execution to the Metadata Enrichment Service Manager, which persists the request and starts background execution. The operation returns the created job run as soon as it is created and the request is persisted.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmStartPublishingRequest

publish_all

boolean

Flag that indicates whether all assets should be published.

target_catalog_id

Required *

string

Identifier of the target catalog for the publish operation.

data_asset_selection

MdesmDataAssetListSelection

Specifies a subset of data assets inside a metadata enrichment asset to be subject to an enrichment operation.

ids

Required *

array

A list of data asset identifiers.

duplicate_action

string

Action to take if the publish would result in a duplicate asset.

member_roles

MdesmMemberRoles

Member roles structure containing users and groups with their respective roles. At least one member (user or group) must have the OWNER role.

users

array

List of user members with their roles.

groups

array

List of group members with their roles.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

job_run_id

string

Identifier of the started job run.

href

string

The location URL to retrieve the job run.

job_run_get_logs_location

string

Location of the job run logs resource.

errors

array

List of errors for a failed operation execution.

status

string

Status of a metadata enrichment asset operation.

job_id

string

Identifier of the job definition to which the job run belongs.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Start key or relationship analysis

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/start_relationship_analysis

Triggers analysis to detect primary keys, foreign keys, and relationships between data assets. Helps understand data lineage and dependencies across tables and datasets. The request must specify the detection type (primary_key, foreign_key, relationship, unique_key) and type-specific settings such as confidence thresholds.<p>The API reads the corresponding job definition ID from the metadata enrichment asset and calls the Jobs service to trigger a job run with the given payload. The Jobs service delegates execution to the Metadata Enrichment Service Manager, which calls the Key-Analysis service to start a new detection task.</p><p>The API returns the created job run as soon as it is returned by the delegate service.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmStartRelationshipAnalysisRequest

key_analysis_objectives

Required *

MdesmRelationshipAnalysisObjectives

Objectives of a relationship analysis operation.

type

Required *

string

The type of relationship analysis to execute.

overwritten_config

object

Override configuration for a relationship analysis job run.

is_all_dataset

Required *

boolean

Flag that indicates if all data assets in the metadata enrichment asset will be analyzed or only a given subset. If true, the field dataset_ids must be null, otherwise it must neither be null nor empty.

sampling_percent

integer

The sample size in percent. The rows are selected randomly based on column values. With a sample size of 100%, all rows are analyzed. This can be time intensive.

dataset_ids

array

A list of identifiers of data assets to be analyzed.

updated_dataset_ids

array

A list of data asset identifiers that should be considered updated.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

job_run_id

string

Identifier of the started job run.

href

string

The location URL to retrieve the job run.

job_run_get_logs_location

string

Location of the job run logs resource.

errors

array

List of errors for a failed operation execution.

status

string

Status of a metadata enrichment asset operation.

job_id

string

Identifier of the job definition to which the job run belongs.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Add or remove assets from data scope

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/update_data_scope

Modifies the collection of data assets assigned to a metadata enrichment asset. Supports adding new assets, removing existing assets, and handling metadata import assets (which automatically expand to their contained data assets). This operation is asynchronous and returns immediately with an operation ID for polling.<p>A background process identifies data assets belonging to any specified metadata import assets, then adds or removes the assignment information to or from all identified or specified assets. The process is recoverable and persisted in the database.</p><p>The response contains the status of the long-running operation with a link to the operation resource for polling progress.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mdeAreaId}.update_datascope</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmMdeDataScopeUpdateRequest

assets_to_add

MdesmDataScopeAssetSelection

A subset of assets in a metadata enrichment asset.

ids

array

A list of data asset identifiers.

assets_to_remove

MdesmDataScopeAssetSelection

A subset of assets in a metadata enrichment asset.

ids

array

A list of data asset identifiers.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmDataScopeOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Get metadata enrichment project settings

GET /metadata_enrichment/v3/settings

Get the default metadata enrichment settings for a given project.<p>Calling this API on a new project creates default settings with predefined default values.</p><p>All project members are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

defaults

boolean

If true, the API returns the default project settings, otherwise the actual project settings

Response

200 - Ok

href

string

The location URL to retrieve this resource.

id

string

The unique identifier of this resource.

project_id

string

The unique identifier of the project.

last_updated_at

string

The last update date and time in UTC in ISO 8601 format.

last_updater_id

string

Unique identifier of the user that modified the resource.

last_accessed_at

string

The last access date and time in UTC in ISO 8601 format.

last_accessor_id

string

Unique identifier of the last user that accessed the resource.

creator_id

string

Unique identifier of the user that created the resource.

created_at

string

The creation date and time in UTC in ISO 8601 format.

structured_profiling

MdesmStructuredProfiling

A profiling configuration for structured data assets.

term_assignment

MdesmTermAssignment

A term assigment configuration. If default_ml_configuration is missing the scope, the scope 'project' is used together with the current project identifier.

classification

MdesmClassification

A classification configuration. Indicates whether automatic classification should be executed based on business terms and data classes.

semantic_expansion

MdesmSemanticExpansion

Generative AI based expansion settings

key_analysis

MdesmSettingsKeyAnalysis

A key analysis configuration.

advanced_profiling

MdesmAdvancedProfiling

Advanced profiling configuration.

mde_area_configurations

MdesmMdeAssetConfiguration

A metadata enrichment asset configuration.

enrichment_execution_windows_configuration

MdesmEnrichmentExecutionWindowsConfiguration

The enrichment execution windows configuration.

data_quality

MdesmAutoDataQuality

Auto Data Quality configuration.

Updates the metadata enrichment project settings

PATCH /metadata_enrichment/v3/settings

Updates certain details of the project-wide defaults settings for metadata enrichment.<p>Properties can be individually updated unless they are part of a array. Arrays can be updated only as a whole.</p><p>Only project administrators are allowed to use this API.</p>

Request

Request Body

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

href

string

The location URL to retrieve this resource.

id

string

The unique identifier of this resource.

project_id

string

The unique identifier of the project.

last_updated_at

string

The last update date and time in UTC in ISO 8601 format.

last_updater_id

string

Unique identifier of the user that modified the resource.

last_accessed_at

string

The last access date and time in UTC in ISO 8601 format.

last_accessor_id

string

Unique identifier of the last user that accessed the resource.

creator_id

string

Unique identifier of the user that created the resource.

created_at

string

The creation date and time in UTC in ISO 8601 format.

structured_profiling

MdesmStructuredProfiling

A profiling configuration for structured data assets.

term_assignment

MdesmTermAssignment

A term assigment configuration. If default_ml_configuration is missing the scope, the scope 'project' is used together with the current project identifier.

classification

MdesmClassification

A classification configuration. Indicates whether automatic classification should be executed based on business terms and data classes.

semantic_expansion

MdesmSemanticExpansion

Generative AI based expansion settings

key_analysis

MdesmSettingsKeyAnalysis

A key analysis configuration.

advanced_profiling

MdesmAdvancedProfiling

Advanced profiling configuration.

mde_area_configurations

MdesmMdeAssetConfiguration

A metadata enrichment asset configuration.

enrichment_execution_windows_configuration

MdesmEnrichmentExecutionWindowsConfiguration

The enrichment execution windows configuration.

data_quality

MdesmAutoDataQuality

Auto Data Quality configuration.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Get service version

GET /metadata_enrichment/v3/version

Get version of the service. This API is expected to always return with a status of 200, even if some components are not running correctly.

Request

Response

200 - Success.

name

string

The service name.

version

string

The service image version.

app_version

string

The application war file version.

api_version

string

The exact V3 API version

500 - An error occurred. No information about the service can be returned.

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies data class assignment on columns

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_columns_data_class

Executes one of the following operations for all given columns:<ul><li><b>assign</b> data class</li><li><b>remove</b> data class</li></ul><p>For the modification type 'assign', the property 'data_class' must be set to a valid data class identifier.</p><p>For the modification type 'remove', the property 'data_class' must not be set.</p><p>This API will trigger a recoverable background process that is backed up by a database entry. The response will be the status of that long running operation containing a link to the operation resource. That resource can be used to poll the status of the operation.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mdeAreaId}.modify_columns_data_class</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmModifyColumnsDataClassRequest

modification_type

Required *

string

The type of a data class modification operation.

global_search_query

Required *

string

A global search query.

data_class

MdesmDataClassIdentifier

A data class to be assigned to a column.

id

Required *

string

The global identifier of the data class.

name

Required *

string

The display name of the data class.

columns

array

The identifiers of the columns to be modified grouped by their asset.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies the review status on assets

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_assets_review_status

Executes one of the following operations for all given assets:<ul><li>Set review status to <b>reviewed</b></li><li>Set review status to <b>not reviewed</b></li></ul><p>This API will trigger a recoverable background process that is backed up by a database entry. The response will be the status of that long running operation containing a link to the operation resource. That resource can be used to poll the status of the operation.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mde-asset-id}.modify_assets_review_status</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmModifyAssetsReviewStatusRequest

review_action

Required *

string

The review action to be executed on an enriched asset or column.

data_asset_ids

Required *

array

The data asset identifiers of the assets to be modified.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies the review status on columns

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_columns_review_status

Executes one of the following operations for all given columns:<ul><li>Set review status to <b>reviewed</b></li><li>Set review status to <b>not reviewed</b></li></ul><p>Column names that do not exist on an asset will be silently ignored.</p><p>This API will trigger a recoverable background process that is backed up by a database entry. The response will be the status of that long running operation containing a link to the operation resource. That resource can be used to poll the status of the operation.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mde-asset-id}.modify_columns_review_status</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmModifyColumnsReviewStatusRequest

review_action

Required *

string

The review action to be executed on an enriched asset or column.

columns

array

The identifiers of the columns to be modified grouped by their asset.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Updates AI generated asset enrichments

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/review_assets_gen_ai_based_expansions

Executes one of the following operations for all given assets:<ul><li><b>accept</b> name expansions</li><li><b>reject</b> name expansions</li><li><b>delete</b> name expansions</li><li><b>modify</b> name expansions</li><li><b>accept</b> generated descriptions</li><li><b>reject</b> generated descriptions</li><li><b>delete</b> generated descriptions</li><li><b>modify</b> generated descriptions</li></ul><p>For review type 'modify' and semantic expansion type 'name', the property 'reviewed_name' must be set and 'reviewed_description' must not be set.</p><p>For review type 'modify' and semantic expansion type 'description', the property 'reviewed_name' must not be set and 'reviewed_description' must be set.</p><p>For any review type other than 'modify', both 'reviewed_name' and 'reviewed_description' must not be set.</p><p>Operation <b>accept</b> moves generated names or descriptions with state 'suggested' or 'accepted' to state 'user accepted'.</p><p>Operation <b>reject</b> removes generated names or descriptions with state 'suggested'.</p><p>Operation <b>delete</b> removes generated names or descriptions regardless of their state.</p><p>Operation <b>modify</b> replaces or creates generated names or descriptions and puts them in state 'user accepted'.</p><p>This API will trigger a recoverable background process that is backed up by a database entry.The response will be the status of that long running operation containing a link to the operations resource. That resource can be used to poll the status of the operation.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mde-asset-id}.review_assets_gen_ai_based_expansions</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmReviewAssetsGenAiBasedExpansionsRequest

review_type

Required *

string

The type of enrichment review operation.

semantic_expansion_type

Required *

string

The type of Generative AI based expansion.

reviewed_name

string

The reviewed name to assign.

reviewed_description

string

The reviewed description to assign.

data_asset_ids

Required *

array

The identifiers of the data assets to be modified.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Updates AI generated column enrichments

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/review_columns_gen_ai_based_expansions

Executes one of the following operations for all given columns:<ul><li><b>accept</b> name expansions</li><li><b>reject</b> name expansions</li><li><b>delete</b> name expansions</li><li><b>modify</b> name expansions</li><li><b>accept</b> generated descriptions</li><li><b>reject</b> generated descriptions</li><li><b>delete</b> generated descriptions</li><li><b>modify</b> generated descriptions</li></ul><p>For review type 'modify' and semantic expansion type 'name', the property 'reviewed_name' must be set and 'reviewed_description' must not be set.</p><p>For review type 'modify' and semantic expansion type 'description', the property 'reviewed_name' must not be set and 'reviewed_description' must be set.</p><p>For any review type other than 'modify', both 'reviewed_name' and 'reviewed_description' must not be set.</p><p>Operation <b>accept</b> moves generated names or descriptions with state 'suggested' or 'accepted' to state 'user accepted'.</p><p>Operation <b>reject</b> removes generated names or descriptions with state 'suggested'.</p><p>Operation <b>delete</b> removes generated names or descriptions regardless of their state.</p><p>Operation <b>modify</b> replaces or creates generated names or descriptions and puts them in state 'user accepted'.</p><p>This API will trigger a recoverable background process that is backed up by a database entry. The response will be the status of that long running operation containing a link to the operation resource. That resource can be used to poll the status of the operation.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mde-asset-id}.review_columns_gen_ai_based_expansions</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmReviewColumnsGenAiBasedExpansionsRequest

review_type

Required *

string

The type of enrichment review operation.

semantic_expansion_type

Required *

string

The type of Generative AI based expansion.

reviewed_name

string

The reviewed name to assign.

reviewed_description

string

The reviewed description to assign.

columns

array

The identifiers of the columns to be modified grouped by their asset.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Generates terms for assets

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/generate_assets_terms

Asynchronously generates AI-based terms for all given assets that do not have terms assigned already.<p>The <b>term_generation_target_category_id</b> field is REQUIRED and specifies the category where generated terms will be stored.</p><p>If <b>include_columns</b> is true, terms are also generated for all columns of the given assets that do not have terms assigned already.</p><p>This API triggers a recoverable background process backed by a database entry. The response contains the status of the long-running operation with a link to the operation resource for polling.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mde-asset-id}.generate_assets_terms</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmGenerateAssetsTermsRequest

include_columns

boolean

Execute term generation also for all columns of a given asset that do not have terms assigned already

data_asset_ids

Required *

array

The identifiers of the data assets to be modified.

term_generation_target_category_id

Required *

string

Identifier of the category that is used to store generated terms. Defaults to the value stored in the given job

enrichment_job_id

string

Identifier of the enrichment job from which to take the governance scope and target category.

response_language

string

Optional language for enrichment responses. Accepts ISO 639-1 codes (e.g., 'en', 'es') or full language names (e.g., 'english', 'spanish'). If not specified, uses language from gen_ai_settings or defaults to English.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Generates terms for columns (asynchronous)

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/generate_columns_terms

Asynchronously generates AI-based terms for all given columns that do not have terms assigned already.<p>The <b>term_generation_target_category_id</b> field is REQUIRED and specifies the category where generated terms will be stored.</p><p>This API triggers a recoverable background process backed by a database entry. The response contains the status of the long-running operation with a link to the operation resource for polling.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mde-asset-id}.generate_columns_terms</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmGenerateColumnsTermsRequest

columns

array

The identifiers of the columns.

term_generation_target_category_id

Required *

string

Identifier of the category that is used to store generated terms. Defaults to the value stored in the given job

enrichment_job_id

string

Identifier of the enrichment job from which to take the governance scope and target category.

response_language

string

Optional language for enrichment responses. Accepts ISO 639-1 codes (e.g., 'en', 'es') or full language names (e.g., 'english', 'spanish'). If not specified, uses language from gen_ai_settings or defaults to English.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmBulkEnrichmentOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Generates terms for assets or columns

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/generate_terms

Synchronously generates AI-based terms for given assets or columns that do not have terms assigned already.<p>The <b>term_generation_target_category_id</b> field is REQUIRED and specifies the category where generated terms will be stored.</p><p>If <b>include_columns</b> is true, terms are also generated for all columns of the given assets that do not have terms assigned already.</p><p>This API either generates terms for at most 20 different assets or generates terms for columns from at most 20 different assets. To generate terms for assets, the field <b>data_asset_ids</b> must not be empty and the field <b>columns</b> must not be provided. To generate terms for columns, the field <b>data_asset_ids</b> must not be provided and the field <b>columns</b> must not be empty.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmSyncGenerateTermsRequest

data_asset_ids

array

The data asset identifiers of the assets to be modified.

columns

array

The identifiers of the columns to be modified grouped by their asset.

include_columns

boolean

Execute term generation also for all columns of a given asset that do not have terms assigned already

term_generation_target_category_id

Required *

string

Identifier of the category that is used to store generated terms.

enrichment_job_id

string

Identifier of the enrichment job from which to take the governance scope and target category.

response_language

string

Optional language for enrichment responses. Accepts ISO 639-1 codes (e.g., 'en', 'es') or full language names (e.g., 'english', 'spanish'). If not specified, uses language from gen_ai_settings or defaults to English.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

asset_results

object

Bulk operation results per asset id

generated_terms_count

integer

Number of terms generated with this operation

cuh

number

The cost of the operation.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies classification assignments of assets or columns

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_classifications

Executes one of the following operations:<ul><li><b>assign</b> classifications</li><li><b>remove</b> classifications</li><li><b>remove_all</b> classifications</li></ul><p>For the modification_types 'assign' and 'remove', the property 'classifications' must be set and contain at least one valid classifications identifier.For the modification_type 'remove_all', the property 'classifications' must not be set.</p><p>This API either modifies the classifications assignments of at most 20 different assets or the classifications assignments of columns from at most 20 different assets.To modify asset classifications the field <b>data_asset_ids</b> must not be empty and the field <b>columns</b> must not be provided.To modify column classifications the field <b>data_asset_ids</b> must not be provided and the field <b>columns</b> must not be empty.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmSyncModifyClassificationsRequest

data_asset_ids

array

The data asset identifiers of the assets to be modified.

columns

array

The identifiers of the columns to be modified grouped by their asset.

modification_type

Required *

string

The type of enrichment modification operation.

classifications

array

The identifiers of the classification.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

asset_results

object

Bulk operation results per asset id

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies data class assignments of columns

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_data_class

Executes one of the following operations for all given columns:<ul><li><b>assign</b> data class</li><li><b>remove</b> data class</li></ul><p>For the modification type 'assign', the property 'data_class' must be set to a valid data class identifier.</p><p>For the modification type 'remove', the property 'data_class' must not be set.</p>This API modifies the data class assignment of columns from at most 20 different assets.To modify asset terms the field <b>data_asset_ids</b> must not be empty and the field <b>columns</b> must not be provided.To modify column terms the field <b>data_asset_ids</b> must not be provided and the field <b>columns</b> must not be empty.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmSyncModifyDataClassRequest

columns

array

The identifiers of the columns to be modified grouped by their asset.

modification_type

Required *

string

The type of a data class modification operation.

data_class

MdesmDataClassIdentifier

A data class to be assigned to a column.

id

Required *

string

The global identifier of the data class.

name

Required *

string

The display name of the data class.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

asset_results

object

Bulk operation results per asset id

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies the review status of assets or columns

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_review_status

Executes one of the following operations for all given assets:<ul><li>Set review status to <b>reviewed</b></li><li>Set review status to <b>not reviewed</b></li></ul>This API either modifies the asset review status of at most 20 different assets or column review status of columns from at most 20 different assets.To modify asset review status the field <b>data_asset_ids</b> must not be empty and the field <b>columns</b> must not be provided.To modify column review status the field <b>data_asset_ids</b> must not be provided and the field <b>columns</b> must not be empty.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmSyncModifyReviewStatusRequest

data_asset_ids

array

The data asset identifiers of the assets to be modified.

columns

array

The identifiers of the columns to be modified grouped by their asset.

review_action

Required *

string

The review action to be executed on an enriched asset or column.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

asset_results

object

Bulk operation results per asset id

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies term assignments

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_terms

Synchronously modifies term assignments for up to 20 assets or columns. Returns immediate results.<p><b>Supported Operations:</b></p><ul><li><b>assign</b> - Add terms to assets/columns</li><li><b>remove</b> - Remove specific terms</li><li><b>remove_all</b> - Remove all terms</li><li><b>remove_generated</b> - Remove AI-generated terms only</li></ul><p><b>Request Requirements:</b></p><ul><li>For 'assign' and 'remove': property 'terms' must contain at least one valid term identifier</li><li>For 'remove_all' and 'remove_generated': property 'terms' must not be set</li><li>For asset terms: provide 'data_asset_ids' (max 20), omit 'columns'</li><li>For column terms: provide 'columns' (from max 20 assets), omit 'data_asset_ids'</li></ul><p>This API processes requests synchronously and returns results immediately with success/failure details for each item.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmSyncModifyTermsRequest

data_asset_ids

array

The data asset identifiers of the assets to be modified.

columns

array

The identifiers of the columns to be modified grouped by their asset.

modification_type

Required *

string

The type of enrichment modification operation.

terms

array

The identifiers of the term.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

asset_results

object

Bulk operation results per asset id

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Updates AI generated enrichments of assets or columns

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/review_gen_ai_based_expansions

Executes one of the following operations:<ul><li><b>accept</b> name expansions</li><li><b>reject</b> name expansions</li><li><b>delete</b> name expansions</li><li><b>modify</b> name expansions</li><li><b>accept</b> generated descriptions</li><li><b>reject</b> generated descriptions</li><li><b>delete</b> generated descriptions</li><li><b>modify</b> generated descriptions</li></ul><p>For review type 'modify' and semantic expansion type 'name', the property 'reviewed_name' must be set and 'reviewed_description' must not be set.</p><p>For review type 'modify' and semantic expansion type 'description', the property 'reviewed_name' must not be set and 'reviewed_description' must be set.</p><p>For any review type other than 'modify', both 'reviewed_name' and 'reviewed_description' must not be set.</p>This API either modifies AI generated enrichments of at most 20 different assets or AI generated enrichments of columns from at most 20 different assets.To modify asset terms the field <b>data_asset_ids</b> must not be empty and the field <b>columns</b> must not be provided.To modify column terms the field <b>data_asset_ids</b> must not be provided and the field <b>columns</b> must not be empty.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmSyncReviewGenAiBasedExpansionRequest

data_asset_ids

array

The data asset identifiers of the assets to be modified.

columns

array

The identifiers of the columns to be modified grouped by their asset.

review_type

Required *

string

The type of enrichment review operation.

semantic_expansion_type

Required *

string

The type of Generative AI based expansion.

reviewed_name

string

The reviewed name to assign.

reviewed_description

string

The reviewed description to assign.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

asset_results

object

Bulk operation results per asset id

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Modifies AI generated enrichments of columns of a single asset

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/modify_asset_columns_gen_ai_based_expansions

<p>Modifies display names and/or descriptions of multiple columns of a single asset.</p><p><ul><li> When either display_name or description is not provided the respective field will not be updated</li><li> When either display_name or description is null the respective field will not be updated</li><li> When either display_name or description is an empty string the value of the respective field will be removed and marked as accepted.</li><li> When either display_name or description is a non-empty string the value of the respective field will be updated and marked as accepted.</li></ul></p>

Request

Request Body

MdesmSyncModifyAssetColumnsGenAiBasedExpansionRequest

asset_id

Required *

string

The data asset identifier.

columns

array

A list of column updates.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - Ok

project_id

string

The unique identifier of the project.

asset_id

string

The data asset identifier.

columns

array

A list of column updat results.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Lists metadata enrichment jobs for a given asset

GET /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs

Lists all metadata enrichment jobs for a given metadata enrichment asset, including the internal ad hoc job if available.<p>When you start with an empty metadata enrichment asset, the list will be empty. Before a user has ever triggered any ad hoc run, there will be no ad hoc job returned. Once a user has triggered their first ad hoc run for the metadata enrichment asset, the list of jobs will include the ad hoc job definition, too.</p><p>The optional <code>internal</code> query parameter allows filtering jobs by their internal status. Use <code>internal=false</code> to exclude internal jobs (e.g., ad-hoc job) and return only user-created enrichment jobs. Use <code>internal=true</code> to return only internal jobs. Omit the parameter to return all jobs (default behavior).</p><p>Only project members are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

internal

boolean

Filter jobs by internal status. Use 'false' to exclude internal jobs, 'true' to show only internal jobs, or omit to show all jobs.

num_last_job_runs

integer

Number of last job runs to be returned.

Response

200 - OK

jobs

array

A list of metadata enrichment jobs.

total_count

integer

The total number of enrichment jobs belonging to the metadata enrichment asset.

Creates a new metadata enrichment job with specific enrichment capabilities

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs

Creates a new metadata enrichment job that defines specific enrichment capabilities (profiling, classification, term assignment, relationship analysis, etc.) to be applied to data assets within a metadata enrichment asset. Jobs can be scheduled to run automatically or triggered manually.<p>The job configuration includes enrichment objectives that specify which capabilities to enable, governance scope for term assignment, sampling configuration for profiling, and data quality check settings. The API validates that the metadata enrichment asset supports multi-job functionality (non-legacy assets only).</p><p>Upon successful creation, the job is registered in the Jobs Service and linked to the metadata enrichment asset. If any step fails, the operation automatically rolls back all created resources.</p><p>Only project administrators and editors are allowed to use this API.</p><p>The maximum number of enrichment jobs allowed in a metadata enrichment asset is 5.</p>

Request

Request Body

MdesmMdeJobPrototype

name

Required *

string

The name of the metadata enrichment job resource.

description

string

The description of the metadata enrichment job resource.

schedule

string

The schedule of the metadata enrichment job in cron format.

schedule_info

MdesmMdeAssetJobScheduleInfoPrototype

Initialization information for the metadata enrichment asset job schedule information.

repeat

boolean

Flag indicating whether the schedule should repeat or not.

start_on

integer

The schedule start time as Epoch Unix Timestamp.

end_on

integer

The schedule end time as Epoch Unix Timestamp.

retention_policy

MdesmMdeAssetJobRetentionPolicyPrototype

The job's job run retention settings

days

integer

The maximum number of days before a completed job run is purged.

amount

integer

The maximum number of job runs to keep before purging the oldest one.

delegate_configuration

Required *

MdesmMdeJobDelegateConfigurationPrototype

A patch of a job configuration that configures the process in the delegation service.

skip_notifications

boolean

Flag that indicates if notifications should be sent for a job.

enrichment_objective

object

Initialization information for metadata enrichment asset objectives.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

201 - Created

href

string

The location URL to retrieve this resource.

id

string

The unique identifier of this resource.

project_id

string

The unique identifier of the project.

name

string

The name of the metadata enrichment job resource.

description

string

The description of the metadata enrichment job resource.

owner_id

string

Unique identifier of the user that owned the resource on export.

schedule

string

The schedule of the metadata enrichment job in cron format.

schedule_info

MdesmMdeAssetJobScheduleInfo

Metadata enrichment asset job schedule information.

retention_policy

MdesmMdeAssetJobRetentionPolicy

The job's job run retention settings

delegate_configuration

MdesmMdeJobDelegateConfiguration

The job configuration that configures the process in the delegation service.

runs

array

Optional list of job runs associated with this job.

latest_runs

MdesmMdeJobRunSummaryCollection

A collection of metadata enrichment job runs.

internal

boolean

Indicates whether this job is an internal job (e.g., ad-hoc job) or a user-created enrichment job. Internal jobs are created and managed by the system, while user-created jobs are explicitly defined by users.

lifecycle_state

string

Lifecycle state of the metadata enrichment job

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Retrieves a metadata enrichment job

GET /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs/{job_id}

Retrieves a metadata enrichment job. This call will also work for the ad hoc job, allowing you to GET each job included in the list response.<p>While the ad hoc job definition is also a job definition for an enrichment run, it will mostly be empty. Since that job is created internally under the covers, it will have a fixed name. </p><p>Only project members are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

num_last_job_runs

integer

Number of last job runs to be returned.

Response

200 - OK

href

string

The location URL to retrieve this resource.

id

string

The unique identifier of this resource.

project_id

string

The unique identifier of the project.

name

string

The name of the metadata enrichment job resource.

description

string

The description of the metadata enrichment job resource.

owner_id

string

Unique identifier of the user that owned the resource on export.

schedule

string

The schedule of the metadata enrichment job in cron format.

schedule_info

MdesmMdeAssetJobScheduleInfo

Metadata enrichment asset job schedule information.

retention_policy

MdesmMdeAssetJobRetentionPolicy

The job's job run retention settings

delegate_configuration

MdesmMdeJobDelegateConfiguration

The job configuration that configures the process in the delegation service.

runs

array

Optional list of job runs associated with this job.

latest_runs

MdesmMdeJobRunSummaryCollection

A collection of metadata enrichment job runs.

internal

boolean

Indicates whether this job is an internal job (e.g., ad-hoc job) or a user-created enrichment job. Internal jobs are created and managed by the system, while user-created jobs are explicitly defined by users.

lifecycle_state

string

Lifecycle state of the metadata enrichment job

Delete a metadata enrichment job

DELETE /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs/{job_id}

Deletes a metadata enrichment job and removes its reference from the parent metadata enrichment asset. The job is permanently removed from the Jobs Service, and any scheduled executions are canceled.<p>Since removing job execution entries from assigned assets happens asynchronously, the API immediately returns an operation resource containing the current status and a URL. This URL can be polled to track the deletion progress until completion.</p><p>The background process removes job execution entries from all assigned data assets in the metadata enrichment area.</p><p>Two RabbitMQ events are sent to CAMS topic exchange CatalogServiceMessageHub with topic <b>v3.metadata_enrichment.{mdeAreaId}.delete_enrichment_job</b> and message body as described in model <b>RmqNotificationInteractiveTaskPayload</b>: one when the background operation starts (status <b>started</b>), and one when it completes (status <b>success</b> or <b>failed</b>).</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmDataScopeOperationDetails

The result of a data scope operation on data assets.

400 - Bad request. Missing or invalid parameters

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Update metadata enrichment job configuration

PATCH /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs/{job_id}

Updates specific properties of a metadata enrichment job using JSON merge patch semantics (RFC 7396). Allows partial updates of job configuration including name, description, schedule, retention policy, and enrichment objectives. Only fields included in the patch are updated; omitted fields remain unchanged.<p>Updatable properties include:<ul><li>Job name and description</li><li>Schedule (cron expression) and schedule info (start/end times, repeat flag)</li><li>Retention policy (days to keep job runs)</li><li>Delegate configuration (enrichment objectives, notification settings)</li></ul></p><p>The update is validated before and after applying the merge patch. Changes to schedule or enrichment configuration take effect on the next job run.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

200 - OK

href

string

The location URL to retrieve this resource.

id

string

The unique identifier of this resource.

project_id

string

The unique identifier of the project.

name

string

The name of the metadata enrichment job resource.

description

string

The description of the metadata enrichment job resource.

owner_id

string

Unique identifier of the user that owned the resource on export.

schedule

string

The schedule of the metadata enrichment job in cron format.

schedule_info

MdesmMdeAssetJobScheduleInfo

Metadata enrichment asset job schedule information.

retention_policy

MdesmMdeAssetJobRetentionPolicy

The job's job run retention settings

delegate_configuration

MdesmMdeJobDelegateConfiguration

The job configuration that configures the process in the delegation service.

runs

array

Optional list of job runs associated with this job.

latest_runs

MdesmMdeJobRunSummaryCollection

A collection of metadata enrichment job runs.

internal

boolean

Indicates whether this job is an internal job (e.g., ad-hoc job) or a user-created enrichment job. Internal jobs are created and managed by the system, while user-created jobs are explicitly defined by users.

lifecycle_state

string

Lifecycle state of the metadata enrichment job

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

List job runs for a metadata enrichment job

GET /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs/{job_id}/runs

Retrieves a list of all execution runs for a specific metadata enrichment job, including their status, start/end times, and execution results. Useful for monitoring job execution history and troubleshooting. Runs are returned in reverse chronological order (newest first).<p>Only project members are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

num_last_job_runs

integer

Number of last job runs to be returned.

Response

200 - OK

runs

array

A list of metadata enrichment job runs.

total_count

integer

The total number of enrichment jobs runs belonging to the job.

Get details of a specific job run

GET /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs/{job_id}/runs/{job_run_id}

Retrieves comprehensive details about a specific job run execution, including status, timing information, processed assets, results, and error details if applicable. Use the 'include' parameter to request additional information such as detailed asset-level results or execution logs.<p>Only project members are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

include

Type of additional information to include in metadata enrichment job run response.

Response

200 - OK

id

string

The unique identifier of the job run.

last_state_change_at

string

The last update date and time in UTC in ISO 8601 format.

delegate_configuration

MdesmMdeJobRunDelegateConfiguration

The job run configuration that configures the process in the delegation service.

name

string

The name of the metadata enrichment job resource.

owner_id

string

The unique identifier of the owner.

href

string

The location URL to retrieve the job run.

metrics

MdesmMdeJobRunMetricsEnrichment

Enrichment job run metrics

state

string

The display name of a job run state.

Start advanced profiling with custom configuration

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs/{job_id}/start_advanced_profiling

Triggers advanced profiling on data assets with override parameters for sampling and connection details. Allows storing profiling results in an external database for advanced analytics. The input can include custom sampling configuration and database connection details for result storage, enabling extended metrics, pattern detection, and correlation analysis.<p>The API calls the Jobs service to trigger a job run with the given payload. The API returns the created job run as soon as it is returned by the delegate service.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmStartAdvancedProfilingRequest

unique_value_table_info

MdesmAdvancedProfilingUniqueValueTableInfo

Information about the table for storing unique values.

location

object

A database location.

count

integer

Number of entries to store in the output table. If null, all entries are stored.

sampling

Required *

MdesmSamplingPrototype

Initialiation information for the metadata enrichment asset sampling options.

structured

Required *

object

Initialization information for metadata enrichment asset sampling options for structured data assets.

data_asset_selection

Required *

MdesmDataAssetListSelection

Specifies a subset of data assets inside a metadata enrichment asset to be subject to an enrichment operation.

ids

Required *

array

A list of data asset identifiers.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

job_run_id

string

Identifier of the started job run.

href

string

The location URL to retrieve the job run.

job_run_get_logs_location

string

Location of the job run logs resource.

errors

array

List of errors for a failed operation execution.

status

string

Status of a metadata enrichment asset operation.

job_id

string

Identifier of the job definition to which the job run belongs.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Start enrichment using job configuration

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/jobs/{job_id}/start_enrichment

Triggers an enrichment job run using an existing job's configuration. The enrichment objective and settings are taken from the job configuration.<p>To use the <strong>asset selection determined by the job configuration</strong>, either omit the <code>dataAssetSelection</code> field or set it explicitly to <code>null</code>. In this case the set of assets to process is governed by the <code>dataScopeOfReruns</code> setting in the job configuration: it is either all assets assigned to the metadata enrichment asset, or only those modified since the last enrichment run (delta).</p><p>To enrich a <strong>specific subset of assets</strong>, provide a <code>dataAssetSelection</code> object with a non-empty <code>ids</code> list containing the UUIDs of the data assets to enrich. The request will be accepted only if all specified assets are available, accessible, and assigned to the given metadata enrichment asset. Note that providing <code>dataAssetSelection</code> without an <code>ids</code> list (e.g. <code>{"dataAssetSelection": {}}</code>) is invalid and will result in a 400 Bad Request response.</p><p>After successful validation, the operation calls the Jobs Service to trigger a new job run. The Jobs service delegates execution to the Metadata Enrichment Service Manager, which persists the request and starts background execution. The operation returns the created job run as soon as it is created and the request is persisted.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmStartSelectiveEnrichmentRequest

data_asset_selection

Required *

MdesmDataAssetListSelection

Specifies a subset of data assets inside a metadata enrichment asset to be subject to an enrichment operation.

ids

Required *

array

A list of data asset identifiers.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

job_run_id

string

Identifier of the started job run.

href

string

The location URL to retrieve the job run.

job_run_get_logs_location

string

Location of the job run logs resource.

errors

array

List of errors for a failed operation execution.

status

string

Status of a metadata enrichment asset operation.

job_id

string

Identifier of the job definition to which the job run belongs.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Start ad-hoc enrichment with custom objective

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/start_ad_hoc_enrichment

Triggers an immediate enrichment operation with a custom objective specified in the request. Useful for one-time enrichments or testing enrichment configurations without creating a permanent job. Allows enriching all assets or a specific subset.<p>When specific assets are provided, the request will be accepted only if all specified assets are available, accessible, and assigned to the given metadata enrichment asset.</p><p>After successful validation, the operation calls the Jobs Service to trigger a new job run. The Jobs service delegates execution to the Metadata Enrichment Service Manager, which persists the request and starts background execution. The operation returns the created job run as soon as it is created and the request is persisted.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Request Body

MdesmStartAdHocEnrichmentRequest

objective

Required *

MdesmMdeAssetObjectivePrototype

Initialization information for metadata enrichment asset objectives.

enrichment_options

Required *

object

Enrichment options of a metadata enrichment asset.

governance_scope

Required *

array

A list of categories to be used for metadata enrichment.

sampling

Required *

object

Initialiation information for the metadata enrichment asset sampling options.

data_quality

object

Initialization information for the data quality objectives of a metadata enrichment.

term_assignment

object

Term assignment objective prototype of a metadata enrichment asset.

datascope_of_reruns

Required *

string

The type of data scope to be used in metadata enrichment job reruns after the initial full enrichment. This parameter is ignored for selective and ad hoc job runs.

data_asset_selection

MdesmDataAssetListSelection

Specifies a subset of data assets inside a metadata enrichment asset to be subject to an enrichment operation.

ids

Required *

array

A list of data asset identifiers.

job_run_name

string

The name of the ad hoc job run.

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

job_run_id

string

Identifier of the started job run.

href

string

The location URL to retrieve the job run.

job_run_get_logs_location

string

Location of the job run logs resource.

errors

array

List of errors for a failed operation execution.

status

string

Status of a metadata enrichment asset operation.

job_id

string

Identifier of the job definition to which the job run belongs.

400 - Bad request. Missing or invalid parameters or payload

trace

string

The trace ID used to help locate the error in the logs.

errors

array

The error objects.

Upgrade legacy asset from V2 to V3 format

POST /metadata_enrichment/v3/metadata_enrichment_assets/{id}/upgrade

Migrates a legacy metadata enrichment asset (V2 format) to the V3 format. This operation transforms the asset from using inline job configuration to the modern job reference architecture and schedules an asynchronous task to migrate all data asset decorators to the V3 format. <p><strong>Upgrade Process:</strong></p><ul><li>Extracts job configuration from legacy asset fields ('job', 'objective', 'globalSettings')</li><li>Updates the associated enrichment job with the extracted configuration</li><li>Adds job reference to 'enrichment_jobs' map (UUID → MdeJobReference)</li><li>Removes legacy fields ('job', 'objective') from the asset</li><li>Sets asset version to 'v3' and upgrade_status to 'started'</li><li>Schedules an async task to migrate 'metadata_enrichment_area_info' decorators on all data assets</li></ul><p><strong>Configuration Migration:</strong></p><ul><li>globalSettings.disableAllJobRunNotifications → job.configuration.skipNotifications</li><li>objective → job.configuration.enrichmentObjective</li></ul><p><strong>Retry behaviour:</strong></p><p>This endpoint is repeatable. If the async decorator migration previously failed or only partially completed, the endpoint may be called again. The asset's 'upgrade_status' field determines whether a retry is permitted:</p><ul><li>'started' — decorator migration has not yet completed successfully; retry is allowed</li><li>'partially_completed' — some data asset decorators were migrated, some failed; retry is allowed</li><li>'completed' — all decorators successfully migrated; retry is rejected with HTTP 409</li></ul><p><strong>Important Notes:</strong></p><ul><li>The version change from 'legacy' to 'v3' is a one-way operation and cannot be reversed</li><li>The MDE area entity upgrade is atomic - both job and asset updates succeed or fail together</li><li>All enrichment settings are preserved during migration</li><li>After upgrade, modify job configuration via updateMetadataEnrichmentJob API</li><li>The async decorator migration runs in the background; poll the returned operation for status</li></ul><p>Returns an asynchronous operation reference. Poll the data scope operation endpoint for completion status.</p><p>Only project administrators and editors are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

Response

202 - Accepted

id

string

The unique identifier of this resource.

status

string

Status of a metadata enrichment asset operation.

created_at

string

The creation date and time in UTC in ISO 8601 format.

href

string

The location URL to retrieve this resource.

error

string

An error message for a failed operation.

catalog_service_message_topic

string

The Catalog Message Hub topic to listen for notifications.

target_resource_id

string

The identifier of the target resource.

target_resource_location

string

The target resource location.

operation_summary

MdesmDataScopeOperationDetails

The result of a data scope operation on data assets.

List bulk enrichment operations

GET /metadata_enrichment/v3/bulk_enrichment_operations

Lists bulk enrichment operations for a project. Use the <code>target_resource_id</code> filter to find operations for a specific metadata enrichment asset, and <code>status=running</code> to restrict results to operations that have not yet completed.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

status

string

Filter by operation status. Use <code>running</code> to return only operations that have not yet completed.

target_resource_id

string

Filter by the target resource (metadata enrichment asset) ID.

Response

200 - OK

bulk_enrichment_operations

array

A list of bulk enrichment operations.

List data scope operations

GET /metadata_enrichment/v3/data_scope_operations

Lists data scope operations for a project. Use the <code>target_resource_id</code> filter to find operations for a specific metadata enrichment asset, and <code>status=running</code> to restrict results to operations that have not yet completed.<p>Only project administrators and editors are allowed to use this API.</p>

Request

Path Parameters

Query Parameters

project_id

Required *

string

The ID of the project to use.

status

string

Filter by operation status. Use <code>running</code> to return only operations that have not yet completed.

target_resource_id

string

Filter by the target resource (metadata enrichment asset) ID.

Response

200 - OK

data_scope_operations

array

A list of data scope operations.

Create a metadata enrichment area asset

POST /v2/metadata_enrichment/metadata_enrichment_area

Creates a new metadata enrichment asset and the corresponding job definition. If a data scope is provided the decoration of data scope assets will be started in background and the response will contain the execution ID of that background process. After background processing has finished a RabbitMQ event is sent to CAMS topic exchange <b>CatalogServiceMessageHub</b> with topic <b>v2.metadata_enrichment.{mdeAreaId}.create_enrichment_area</b> and message body as described in model <b>RabbitMqNotificationMessage</b>. If no data scope is provided an empty enrichment area is created without starting a background decoration task. In that case the field asyncExecutionInfo will be missing in the response. If query paramter <b>enrichImmediate</b> is true, which is the default setting, and the data scope is not empty a new enrichment job run will be triggered automatically.

Request

Request Body

MetadataDiscoveryMetadataEnrichmentAreaRequest

Object containing information for creating a metadata enrichment area asset

name

Required *

string

name of the metadata enrichment asset

description

Required *

string

description of the metadata enrichment area asset

target_catalog_id

Required *

string

Id of the catalog to metadata enrichment area assets into

job

Required *

MetadataDiscoveryMetadataEnrichmentJobEdit

metadata enrichment job

name

Required *

string

Name of the metadata enrichment job

schedule

Required *

string

A cron string defining when the job should be run. If an empty string is provided it means the job is not scheduled to run.

schedule_info

Required *

object

publish_job

Required *

MetadataDiscoveryPublishJobEdit

metadata enrichment area publish job

id

Required *

string

Id of the metadata publish job

name

Required *

string

Name of the MDE area publish job

schedule

Required *

string

A cron string defining when the job should be run. This is going to be always empty as publish is not scheduled to run.

data_scope

Required *

MetadataDiscoveryMetadataEnrichmentAreaDataScope

enrichment_assets

Required *

array

IDs of assets to enrich metadata

container_assets

Required *

object

objective

Required *

MetadataDiscoveryMetadataEnrichmentAreaObjective

Enrichment Objective

enrichment_options

Required *

object

enrichment options. Required when creating and optional when updating.

governance_scope

Required *

array

Required when creating and optional when updating.

sampling

Required *

object

sampling options. Required when creating and optional when updating.

datascope_of_reruns

Required *

string

Data scope of reruns. Possible values: [DELTA, delta, ALL, all]

tags

Required *

array

list of tags

Path Parameters

Query Parameters

enrichImmediate

boolean

should enrichment be run immediately after area creation

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

201 - Success

metadata

MetadataDiscoveryMetadataEnrichmentAreaMetadata

Metadata about a metadata enrichment area asset. Set by system, not changeable by the user.

entity

MetadataDiscoveryMetadataEnrichmentAreaEntity

Properties of the metadata enrichment area asset.

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Create or update metadata enrichment settings

PUT /v2/metadata_enrichment/metadata_enrichment_area/settings

Create or update metadata enrichment settings

Request

Request Body

Metadata enrichment settings

Path Parameters

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Retrieve metadata enrichment settings

GET /v2/metadata_enrichment/metadata_enrichment_area/settings

Retrieve metadata enrichment settings

Request

Path Parameters

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

edit a metadata enrichment area asset

PATCH /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}

Edit a metadata enrichment area asset

Request

Request Body

MetadataDiscoveryMetadataEnrichmentAreaPatchRequest

Object carrying the update request.

name

Required *

string

name of the metadata enrichment area asset

description

Required *

string

description of the metadata enrichment area asset

target_catalog_id

Required *

string

Id of the catalog to metadata enrichment area assets into

job

Required *

MetadataDiscoveryMetadataEnrichmentJobEdit

metadata enrichment job

name

Required *

string

Name of the metadata enrichment job

schedule

Required *

string

A cron string defining when the job should be run. If an empty string is provided it means the job is not scheduled to run.

schedule_info

Required *

object

publish_job

Required *

MetadataDiscoveryPublishJobEdit

metadata enrichment area publish job

id

Required *

string

Id of the metadata publish job

name

Required *

string

Name of the MDE area publish job

schedule

Required *

string

A cron string defining when the job should be run. This is going to be always empty as publish is not scheduled to run.

objective

Required *

MetadataDiscoveryMetadataEnrichmentAreaObjective

Enrichment Objective

enrichment_options

Required *

object

enrichment options. Required when creating and optional when updating.

governance_scope

Required *

array

Required when creating and optional when updating.

sampling

Required *

object

sampling options. Required when creating and optional when updating.

datascope_of_reruns

Required *

string

Data scope of reruns. Possible values: [DELTA, delta, ALL, all]

tags

Required *

array

list of tags

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

force

boolean

Force the operation even when the metadata enrichment area is being updated.

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

metadata

MetadataDiscoveryMetadataEnrichmentAreaMetadata

Metadata about a metadata enrichment area asset. Set by system, not changeable by the user.

entity

MetadataDiscoveryMetadataEnrichmentAreaEntity

Properties of the metadata enrichment area asset.

401 - Unauthorized

403 - Forbidden

404 - Not found

410 - Gone

500 - Error

trace

string

errors

array

Retrieve details of a Metadata Enrichment Area asset

GET /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}

Retrieve details of a metadata enrichment area asset

Request

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

include_summary

boolean

whether to include data asset count summary in the response

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

metadata

MetadataDiscoveryMetadataEnrichmentAreaMetadata

Metadata about a metadata enrichment area asset. Set by system, not changeable by the user.

entity

MetadataDiscoveryMetadataEnrichmentAreaEntity

Properties of the metadata enrichment area asset.

401 - Unauthorized

403 - Forbidden

404 - Not found

410 - Gone

500 - Error

trace

string

errors

array

Delete a metadata enrichment asset

DELETE /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}

Delete a metadata enrichment area asset

Request

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

204 - No Content

401 - Unauthorized

403 - Forbidden

404 - Not found

410 - Gone

500 - Error

trace

string

errors

array

Add or remove assets from data scope

PATCH /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope

Add or remove assets from data scope

Request

Request Body

Object carrying the update request.

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

force

boolean

Force the operation even when the metadata enrichment area is being updated.

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

202 - Accepted

401 - Unauthorized

403 - Forbidden

404 - Not found

410 - Gone

500 - Error

trace

string

errors

array

Assign business terms to data assets

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/assign_terms

Add terms to given data assets. This api is executed synchronously. It verifies that all assets are part of the given MDE area. If validation fails method ends with an error.

Request

Request Body

MetadataDiscoveryTermAssignmentOptions

List of data assets and terms to assign

dataassets

Required *

array

IDs of assets to enrich metadata

terms

Required *

array

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

async

boolean

whether to process the request asynchronously

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

202 - Accepted

execution_id

string

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Assign business terms to columns of data assets

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/columns/assign_terms

Add terms to given asset columns. This api is executed synchronously. It verifies that all assets are part of the given MDE area. If validation fails method ends with an error.

Request

Request Body

MetadataDiscoveryColumnTermAssignmentOptions

List of columns of data assets and terms to assign

dataasset_columns

Required *

array

terms

Required *

array

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

async

boolean

whether to process the request asynchronously

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

202 - Accepted

execution_id

string

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Assign or remove a data class to columns of data assets

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/columns/dataclass

Assign or remove data class to columns of data assets

Request

Request Body

List of columns of data assets and id of data class and operation to be performed

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

async

boolean

whether to process the request asynchronously

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Remove business terms from columns of data assets.

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/columns/remove_terms

Removes either all terms or selected terms from given asset columns. When terms are provided with the payload only the given terms are removed from the given columns. If no terms are provided all terms are removed.

Request

Request Body

MetadataDiscoveryColumnTermAssignmentOptions

List of columns of data assets and terms to assign

dataasset_columns

Required *

array

terms

Required *

array

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

async

boolean

whether to process the request asynchronously

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

202 - Accepted

execution_id

string

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Adds or updates the review timestamp for given columns.

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/columns/review

Adds/updates the 'reviewed' time stamp to/of the given asset columns.This api is executed synchronously. It fetches the assets that belong to the given columns via CAMS bulk get and verifies that all given assets are part of the given MDE area and are ready for review which means that either profiling or term assignment must be finished. It also validates that the columns exist on the asset. If validation fails the method returns an error. Otherwise for all given columns the review timestamp gets updated via CAMS bulk patch. Returns the new review timestamp.

Request

Request Body

Array containing list of asset Ids with columns.

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

review_date

integer

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Removes review timestamp for given columns.

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/columns/unreview

Removes the 'reviewed' time stamp from the given asset columns. This api is executed synchronously. It fetches alle assets that belong to the given columns via CAMS bulk get and verifies that all given assets are part of the given MDE area. Assets that have no review data are skipped. It also validates that the columns exist on the asset. If validation fails the method returns an error. Otherwise for all given columns the review timestamp will be removed via CAMS bulk patch.

Request

Request Body

Array containing list of asset Ids with columns.

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

204 - No content

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Enrich selected data assets

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/enrich

Enrich selected data assets

Request

Request Body

Array containing list of asset Ids.

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

202 - Success

job_id

string

job_run_id

string

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Remove business terms from data assets

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/remove_terms

Removes either all terms or selected terms from given list of data assets. When terms are provided with the payload only the given terms are removed from the given assets. If no terms are provided all terms are removed.

Request

Request Body

MetadataDiscoveryTermAssignmentOptions

List of data assets and terms to remove

dataassets

Required *

array

IDs of assets to enrich metadata

terms

Required *

array

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

async

boolean

whether to process the request asynchronously

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

202 - Accepted

execution_id

string

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Review a given list of data assets.

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/review

Adds/updates the 'reviewed' time stamp to/of given data assets. This api is executed synchronously. It fetches the given assets via CAMS bulk get and verifies that all given assets are part of the given MDE area and are ready for review which means that either profiling or term assignment must be finished. If validation fails the method returns an error. Otherwise the review timestamp of all assets gets updated via CAMS bulk patch. Returns the new review timestamp.

Request

Request Body

Array containing list of asset Ids.

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

review_date

integer

400 - Bad Request. If parameters are missing or at least one of the given assets is not ready for review

401 - Unauthorized

403 - Forbidden

404 - Not found. If at least one of the given assets is not member of the given metadata enrichment area.

500 - Error

trace

string

errors

array

Removes review timestamp from the given assets

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/data_scope/enrichment_assets/unreview

Removes the 'reviewed' time stamp from the given data assets. This api is executed synchronously. It fetches the given assets via CAMS bulk get and verifies that all given assets are part of the given MDE area. Assets that have no review data are skipped. If validation fails the method returns an error. Otherwise the review timestamp is removed from of all assets via CAMS bulk patch.

Request

Request Body

Array containing list of asset Ids.

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

204 - No content

400 - Bad Request. If parameters are missing.

401 - Unauthorized

403 - Forbidden

404 - Not found. If at least one of the given assets is not member of the given metadata. enrichment area.

500 - Error

trace

string

errors

array

Publish all assets or a subset of assets of a Metadata Enrichment Area to a catalog

POST /v2/metadata_enrichment/metadata_enrichment_area/{metadata_enrichment_area_id}/publish_assets

Publish assets asynchronously. If publishScope is 'selected_assets' either /asset_ids or /filter/search_criteria has to be specified. If publisScope is 'all_assets' none of both must be specified.

Request

Request Body

MetadataDiscoveryPublishRequest

Publish assets to a catalog

catalog

Required *

string

catalog Id

duplicate_action

Required *

string

action if asset already exists

asset_ids

Required *

array

IDs of assets to enrich metadata

filter

Required *

MetadataDiscoveryFilterCatalogSearch

type

Required *

string

type of search

asset_type

Required *

string

Asset type for catalog search.

search_criteria

Required *

object

JSON object for search payload

Path Parameters

metadata_enrichment_area_id

Required *

string

Id of the metadata enrichment area asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

publishScope

Required *

tells if all assets in mde area should be published or only selected assets

Response

200 - Success

job_id

string

job_run_id

string

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Create a Metadata Import asset

POST /v2/metadata_imports

Create a Metadata Import asset.

Request

Request Body

MetadataDiscoveryMetadataImportRequest

An object that holds the information that is needed to create a metadata import asset. You must always set either catalog_id or project_id. Other values that you can specify in this API might vary depending on the scenario. If you're using a Cloud Pak for Data cluster with IBM Manta Data Linage, unified_linage is set to false: description : Description for the MDI, name : MDI Name, connection_id : DB connectionId, target_project_id : project_id, target_catalog_id : null, import_type: metadata, unified_lineage : true, scope : path of the schema or tables selected.

unified_lineage

boolean

label to identify new architecture

datasource_definition_info

MetadataDiscoveryDataSourceDefinitionInfo

Data source scope selection info for lineage

data_source_asset_id

string

Represents the instance id of the created data source definition (DSD). Example - 5c63be56-5690-47f1-8715-fcab20da8086

technology

string

The technology of the associated DSD. Example - "IBM Db2" (data source type name)

scanner

string

The type of scanner used for generating the lineage. Example - "IBM Db2 on Cloud" (data source type name)

lineage_scanning_phases

MetadataDiscoveryLineageScanningPhases

metadata_ingestion_info

MetadataDiscoveryMetadataIngestionInfo

Currently not used by the lineage scanner service.

extraction_info

MetadataDiscoveryMetadataExtractionInfo

The configuration of lineage extraction.

connection_type

string

Defines how extraction must be executed. Accepted values - "direct", "agent"

external_agent

string

The agent group ID for the agent group for which the extraction of the asset must be assigned to (only applicable if `extraction_info.connection_type == "agent").

description

string

description of the metadata import asset

name

Required *

string

name of the metadata import asset

import_type

Required *

string

The type of the import. The possible values are 'metadata' and 'lineage'.

connection_id

string

Id of the connection which is being discovered

connection_id_list

array

Not applicable for SaaS

file_list

array

List of configuration/datasource files for which metadata/lineage has to be extracted.

file_configuration

MetadataDiscoveryMetadataFileConfiguration

The settings that impact how external inputs are processed.

encoding

string

The text encoding that external inputs are read with. Defaults to UTF-8 if it's not specified. Example - "UTF-8", Encoding

enable_replacement

string

The flag enabling the application of the script replacements on external inputs. Accepted values - "true", "false"

placeholders_are_expressions

string

The flag indicating whether script replacement placeholders are interpreted as regular expressions instead of simple strings. Accepted values - "true", "false"

replacements

array

The configuration of script replacements.

workspace_root_paths

array

Not applicable for Saas

asset_ref_map

object

asset ref map when trying to export and import a project.

reimport_options

MetadataDiscoveryReimportOptions

Options that control how existing assets are updated during a re-import. Must be a JSON object — passing an array will be rejected.

update_name

boolean

Whether to update the asset name from the source.

update_description

boolean

Whether to update the asset description from the source.

update_column_descriptions

boolean

Whether to update column descriptions from the source.

delete_when_deleted_at_source

boolean

Whether to delete assets that have been deleted at the source.

delete_when_removed_from_scope

boolean

Whether to delete assets that have been removed from the import scope.

import_options

MetadataDiscoveryImportOptions

Advanced options that control what metadata is imported. Must be a JSON object — passing an array will be rejected.

exclude_tables

boolean

Whether to exclude tables from the import.

exclude_views

boolean

Whether to exclude views from the import.

include_foreign_key

boolean

Whether to include foreign key relationships in the import.

include_primary_key

boolean

Whether to include primary key relationships in the import.

import_incremental_changes_only

boolean

Whether to import only changes since the last run (incremental import).

metadata_from_catalog_table_only

boolean

Whether to read metadata from catalog tables only.

include_asset_lifecycle_timestamps

boolean

Whether to include asset lifecycle timestamps in the import.

include_datastage_job_runs

boolean

Whether to include DataStage job run metadata in the import.

extract_dependency

boolean

Whether to include extract dependencies option for Manta Oracle Scanner.

imported_asset_types

array

List of asset types to include for UL .

advanced_lineage_option

object

Advanced settings for lineage

target_catalog_id

string

Id of the catalog to import assets into

target_project_id

string

Id of the project to import assets into

job_id

string

Id of the metadata import job

publish_job_id

string

Id of the metadata import job

scope

MetadataDiscoveryMetadataImportScope

Scope of assets to be imported from the connection.

paths

array

list of paths

include_list

array

include list in path

exclude_list

array

exclude list in path

jobs_include_list

array

Used for Databrics. Example – “job1”, “job2”

jobs_exclude_list

array

Used for Databrics. Example – “job1”, “job2”

scope_lineage

MetadataDiscoveryMetadataImportScope

Scope of assets to be imported from the connection.

paths

array

list of paths

include_list

array

include list in path

exclude_list

array

exclude list in path

jobs_include_list

array

Used for Databrics. Example – “job1”, “job2”

jobs_exclude_list

array

Used for Databrics. Example – “job1”, “job2”

use_lineage_for_discovery

boolean

Use lineage service for discovery (creating cams asset)

tags

array

Used to identify import assets which are tagged with a custom name. Example - "connection_name_asset"

migrate_tags

boolean

Used for new architecture in backend.

importflow_name

string

Name of the metaBroker importflow

metadata_enrichment_area_info

MetadataDiscoveryMetadataEnrichmentInfo

added_date

string

area_id

string

goal

string

The goal the import. The possible values are 'metadata','lineage',`data_model`, `data_integration`, `data_integration_discover`, `business_intelligence`, `business_intelligence_discover` and `open_manta`

Path Parameters

Query Parameters

create_job

boolean

If this value is set to true, a Job is created together. The relation is also done between mdetadata import asset. The response message includes entity.jobId. The job name is generated from the name of metadata import with a unique suffix.

job_name

string

A candidate of Job name. The job is created with a specified name. If the name already exists, an error is returned. The create_job parameter should be set to true.

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

201 - Success

metadata

MetadataDiscoveryMetadataImportMetadata

Metadata about a metadata import asset. Set by system, not changeable by the user.

entity

MetadataDiscoveryMetadataImportEntity

Properties of the metadata import asset.

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Bulk delete data assets in Metadata discovery

POST /v2/metadata_imports/bulk_delete_assets

Delete assets in bulk

Request

Request Body

Array containing list of data asset Ids.

Path Parameters

Query Parameters

catalog_id

string

The catalog_id and / or project_id must be provided. If catalog_id is provided, the catalog must exist and the caller must be an admin or editor member of the catalog. Only data discovery runs associated with the catalog will be returned.

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

201 - Success

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Bulk delete metadata import assets in Metadata discovery

DELETE /v2/metadata_imports/bulk_delete_metadataImport_assets

Delete metadata import assets in bulk

Request

Path Parameters

Query Parameters

asset_ids

Required *

string

Comma separated list of metadata import asset IDs.

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

201 - Success

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Create a job to publish the data assets and configure the list of data assets to be included in the job.

POST /v2/metadata_imports/bulk_publish_assets

Publish assets in bulk

Request

Request Body

Array containing list of data asset Ids.

Path Parameters

Query Parameters

catalog_id

string

The catalog_id and / or project_id must be provided. If catalog_id is provided, the catalog must exist and the caller must be an admin or editor member of the catalog. Only data discovery runs associated with the catalog will be returned.

connection_id

Required *

string

The connection_id may be optionally provided to retrieve data discovery runs associated with the connection.

mdi_id

string

mdi id to retrieve the MDI object

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

201 - Success

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Get a list of supported datasource types

GET /v2/metadata_imports/connections

INTERNAL: Get list of supported connection types.

Request

Response

200 - Success

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

Restart the pending a job run

POST /v2/metadata_imports/recover_task

Restart the pending a job run. It should be called after restore from the backup data. This API is not unavailable on IBM Cloud. The Admin role is necessary to call this API.

Request

Request Body

MetadataDiscoveryRecoveryCondition

Object containing information for recovering import

recovery_date

string

The timestamp when the data was restored (in format YYYY-MM-DDTHH:mm:ssZ or YYYY-MM-DDTHH:mm:ss.sssZ, matching the date-time format as specified by RFC 3339)

pending_type

string

The status that will be restarted. The possible values are 'starting' and 'running'. The 'running' includes 'starting' status, too.

Response

200 - Success

status

string

An overall status for recovery routine

401 - Unauthorized

403 - Forbidden

500 - Error

trace

string

errors

array

edit a metadata import asset

PATCH /v2/metadata_imports/{metadata_import_id}

edit a metadata import asset

Request

Request Body

MetadataDiscoveryMetadataImportPatchRequest

Object carrying the update request.

name

string

name of the metadata import asset

description

string

description of the metadata import asset

import_type

string

The type of the import. The possible values are 'metadata' and 'lineage'.

connection_id

string

Id of the connection which is being discovered

target_catalog_id

string

Id of the catalog to import assets into

target_project_id

string

Id of the project to import assets into

job_id

string

Id of the metadata import job

publish_job_id

string

Id of the metadata import job

importflow_name

string

Name of the metabroker importflow

scope

MetadataDiscoveryMetadataImportScope

Scope of assets to be imported from the connection.

paths

array

list of paths

include_list

array

include list in path

exclude_list

array

exclude list in path

jobs_include_list

array

Used for Databrics. Example – “job1”, “job2”

jobs_exclude_list

array

Used for Databrics. Example – “job1”, “job2”

tags

array

list of tags

mde_enabled

boolean

the flag if the metadata enrichment can work or not.

migrate_tags

boolean

check to disable or enable migrating MDI tags to data asset.

asset_ref_map

object

asset ref map when trying to export and import a project.

reimport_options

MetadataDiscoveryReimportOptions

Options that control how existing assets are updated during a re-import. Must be a JSON object — passing an array will be rejected.

update_name

boolean

Whether to update the asset name from the source.

update_description

boolean

Whether to update the asset description from the source.

update_column_descriptions

boolean

Whether to update column descriptions from the source.

delete_when_deleted_at_source

boolean

Whether to delete assets that have been deleted at the source.

delete_when_removed_from_scope

boolean

Whether to delete assets that have been removed from the import scope.

import_options

MetadataDiscoveryImportOptions

Advanced options that control what metadata is imported. Must be a JSON object — passing an array will be rejected.

exclude_tables

boolean

Whether to exclude tables from the import.

exclude_views

boolean

Whether to exclude views from the import.

include_foreign_key

boolean

Whether to include foreign key relationships in the import.

include_primary_key

boolean

Whether to include primary key relationships in the import.

import_incremental_changes_only

boolean

Whether to import only changes since the last run (incremental import).

metadata_from_catalog_table_only

boolean

Whether to read metadata from catalog tables only.

include_asset_lifecycle_timestamps

boolean

Whether to include asset lifecycle timestamps in the import.

include_datastage_job_runs

boolean

Whether to include DataStage job run metadata in the import.

extract_dependency

boolean

Whether to include extract dependencies option for Manta Oracle Scanner.

imported_asset_types

array

List of asset types to include for UL .

advanced_lineage_option

object

Advanced settings for lineage

metadata_ingestion_info

MetadataDiscoveryMetadataIngestionInfo

Currently not used by the lineage scanner service.

extraction_info

MetadataDiscoveryMetadataExtractionInfo

The configuration of lineage extraction.

connection_type

string

Defines how extraction must be executed. Accepted values - "direct", "agent"

external_agent

string

The agent group ID for the agent group for which the extraction of the asset must be assigned to (only applicable if `extraction_info.connection_type == "agent").

datasource_definition_info

MetadataDiscoveryDataSourceDefinitionInfo

Data source scope selection info for lineage

data_source_asset_id

string

Represents the instance id of the created data source definition (DSD). Example - 5c63be56-5690-47f1-8715-fcab20da8086

technology

string

The technology of the associated DSD. Example - "IBM Db2" (data source type name)

scanner

string

The type of scanner used for generating the lineage. Example - "IBM Db2 on Cloud" (data source type name)

lineage_scanning_phases

MetadataDiscoveryLineageScanningPhases

file_configuration

MetadataDiscoveryMetadataFileConfiguration

The settings that impact how external inputs are processed.

encoding

string

The text encoding that external inputs are read with. Defaults to UTF-8 if it's not specified. Example - "UTF-8", Encoding

enable_replacement

string

The flag enabling the application of the script replacements on external inputs. Accepted values - "true", "false"

placeholders_are_expressions

string

The flag indicating whether script replacement placeholders are interpreted as regular expressions instead of simple strings. Accepted values - "true", "false"

replacements

array

The configuration of script replacements.

file_list

MetadataDiscoveryFileList

scope_lineage

MetadataDiscoveryMetadataImportScope

Scope of assets to be imported from the connection.

paths

array

list of paths

include_list

array

include list in path

exclude_list

array

exclude list in path

jobs_include_list

array

Used for Databrics. Example – “job1”, “job2”

jobs_exclude_list

array

Used for Databrics. Example – “job1”, “job2”

unified_lineage

boolean

label to identify new architecture

use_lineage_for_discovery

boolean

Use lineage service for discovery (creating cams asset)

Path Parameters

metadata_import_id

Required *

string

Id of the metadata import asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

metadata

MetadataDiscoveryMetadataImportMetadata

Metadata about a metadata import asset. Set by system, not changeable by the user.

entity

MetadataDiscoveryMetadataImportEntity

Properties of the metadata import asset.

401 - Unauthorized

403 - Forbidden

404 - Not found

410 - Gone

500 - Error

trace

string

errors

array

Retrieve details of a Metadata Import

GET /v2/metadata_imports/{metadata_import_id}

Retrieve details of a metadata import

Request

Path Parameters

metadata_import_id

Required *

string

Id of the metadata import asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

200 - Success

metadata

MetadataDiscoveryMetadataImportMetadata

Metadata about a metadata import asset. Set by system, not changeable by the user.

entity

MetadataDiscoveryMetadataImportEntity

Properties of the metadata import asset.

401 - Unauthorized

403 - Forbidden

404 - Not found

410 - Gone

500 - Error

trace

string

errors

array

delete a metadata import asset

DELETE /v2/metadata_imports/{metadata_import_id}

delete a metadata import asset

Request

Path Parameters

metadata_import_id

Required *

string

Id of the metadata import asset.

Query Parameters

project_id

Required *

string

The project_id must be provided. The project must exist and the caller must be an admin or editor member of the project.

Response

204 - No content

401 - Unauthorized

403 - Forbidden

404 - Not found

410 - Gone

500 - Error

trace

string

errors

array

list all governance types

GET /v3/enforcement/governance_types

Lists all governance types. A governance type groups like operations together. For example, the Access governance type groups operations related to access of assets.

Request

Response

200 - OK

resources

array

list of governance types

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

retrieve a governanceType

GET /v3/enforcement/governance_types/{governance_type_name}

Retrieves detailed information on a governance type. This includes all of the operations defined for the governance type and the allowed and default outcomes of each operation.

Request

Path Parameters

governance_type_name

Required *

string

the name of the governance type

Query Parameters

Response

200 - OK

metadata

PoliciesPolicyResourceNonpersistentMetadata

metadata object for policy API responses that have no metadata

entity

PoliciesPolicyGovernanceTypeResponseEntity

entity object within the response for the /v3/enforcement/governance_types/{governanceTypeId} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

list user defined rule predicate terms

GET /v3/enforcement/lhs/udp

List all user defined left hand side terms defined in the policy engine.

Request

Response

200 - OK

resources

array

list of terms

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

create user defined left hand side term

POST /v3/enforcement/lhs/udp

Create a left hand side term to be used in rules defined in the policy engine.

Request

Request Body

PoliciesLHSTermRequest

LHS RuleTerm JSON

name

Required *

string

Name of the custom LHS.

display_name

Required *

string

Display name of the custom LHS.

description

string

Description of the custom LHS.

property_name

Required *

string

Property name of the LHS references. For Asset properties, use the path of the property in asset json. For user property, use the name of the mapped User SCIM attribute. (Custom user predicates are not supported in CPDaaS).

source

Required *

string

Source for the LHS reference. For custom asset predicate, use 'ASSET'. For custom user predicate use 'CONTEXTUAL' (Custom user predicates are not supported in CPDaaS).

Response

200 - OK

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesUDPTermResponseEntity

entity object within the response for the /v3/enforcement/udp/{termName} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

get a user defined left hand side term

GET /v3/enforcement/lhs/udp/{lhsTermId}

Get the user defined left hand side term in the term cache of the policy engine.

Request

Path Parameters

lhsTermId

Required *

string

ID of the LHS term to get

Query Parameters

Response

200 - OK

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesUDPTermResponseEntity

entity object within the response for the /v3/enforcement/udp/{termName} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

delete a user defined left hand side term

DELETE /v3/enforcement/lhs/udp/{lhsTermId}

Delete a left hand side term in the term cache of the policy engine. This cache is maintained for performance and is used for evaluating policies. It is refreshed periodically from technical terms maintained in the glossary.

Request

Path Parameters

lhsTermId

Required *

string

ID of the custom LHS to delete

Query Parameters

Response

204 - No Content (OK)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

retrieve and aggregate policy related metrics

GET /v3/enforcement/policy_metrics/analysis/3d

This API retrieves policy enforcement metrics based on query parameters, which include metric type, date range, policy, user, rule, governanceType, outcome, host type, cached, context operation, context location, asset type and asset location. It then sums these metrics according to a specified aggregation type.

Request

Path Parameters

Query Parameters

metrics_type

Required *

string

The type of metrics to return

aggregation_type_1

Required *

string

The type of aggregation to perform on the selected metrics (days, months, years, policies, rules, users, governanceTypes, outcomes)

aggregation_type_2

Required *

string

The type of aggregation to perform on the selected metrics (days, months, years, policies, rules, users, governanceTypes, outcomes)

start_time

Required *

string

ISO 8601 date/time specifying the starting time to return metrics data

end_time

Required *

string

ISO 8601 date/time specifying the ending time to return metrics data

policy_id

string

The policy to return metrics of, or all policies if not specified

rule_id

string

The rule to return metrics of, or all rules if not specified

user

string

The user to return metrics about, or all users if not specified

governance_type

string

The governanceType to return metrics about, or all governanceTypes if not specified

outcome

string

The enforcement outcome to return metrics about, or all outcomes if not specified

pep_host_type

string

The PEP host type to return metrics about, or all PEP host types if not specified

is_pep_cache

boolean

Metrics on decisions retrieved from cache versus from server, or both if not specified

context_operation

string

The context operation to return metrics about, or all context operations if not specified

context_location

string

The context location to return metrics about, or all context locations if not specified

asset_type

string

The asset type to return metrics about, or all asset types if not specified

asset_location

string

The asset location to return metrics about, or all asset locations if not specified

sort

string

The order to sort the metrics. The following values are allowed:

  • aggregate, -aggregate -- ascending or descending order by the aggregate
  • count, -count -- ascending or descending order by enforcement count

Response

200 - OK

metadata

PoliciesPolicyResourceNonpersistentMetadata

metadata object for policy API responses that have no metadata

entity

PoliciesPolicyMetricsResponseEntity

entity objet within the response for the /v3/enforcement/policy_metrics API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

retrieve and aggregate policy related metrics

GET /v3/enforcement/policy_metrics

This API retrieves policy enforcement metrics based on query parameters, which include metric type, date range, policy, user, rule, governanceType, outcome, host type, cached, context operation, context location, asset type and asset location. It then sums these metrics according to a specified aggregation type.

Request

Path Parameters

Query Parameters

metrics_type

Required *

string

The type of metrics to return

aggregation_type

Required *

string

The type of aggregation to perform on the selected metrics (days, months, years, policies, rules, users, governanceTypes, outcomes)

start_time

Required *

string

ISO 8601 date/time specifying the starting time to return metrics data

end_time

Required *

string

ISO 8601 date/time specifying the ending time to return metrics data

policy_id

string

The policy to return metrics of, or all policies if not specified

rule_id

string

The rule to return metrics of, or all rules if not specified

user

string

The user to return metrics about, or all users if not specified

governance_type

string

The governanceType to return metrics about, or all governanceTypes if not specified

outcome

string

The enforcement outcome to return metrics about, or all outcomes if not specified

pep_host_type

string

The PEP host type to return metrics about, or all PEP host types if not specified

is_pep_cache

boolean

Metrics on decisions retrieved from cache versus from server, or both if not specified

context_operation

string

The context operation to return metrics about, or all context operations if not specified

context_location

string

The context location to return metrics about, or all context locations if not specified

asset_type

string

The asset type to return metrics about, or all asset types if not specified

asset_location

string

The asset location to return metrics about, or all asset locations if not specified

sort

string

The order to sort the metrics. The following values are allowed:

  • aggregate, -aggregate -- ascending or descending order by the aggregate
  • count, -count -- ascending or descending order by enforcement count

Response

200 - OK

metadata

PoliciesPolicyResourceNonpersistentMetadata

metadata object for policy API responses that have no metadata

entity

PoliciesPolicyMetricsResponseEntity

entity objet within the response for the /v3/enforcement/policy_metrics API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

list all roles in policy engine.

GET /v3/enforcement/roles

Lists all roles of the policy engine.

Request

Response

200 - OK

resources

array

list of roles

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

create a custom role

POST /v3/enforcement/roles

Creates a cusotm role. This will include a list of existing permissions to be associated with the role. Maximum length allowed for 'name' parameter: 80 characters, maximum length allowed for 'description' parameter: 1000 characters. Allowed characters for the 'name' parameter: letters from any language, numbers in any script, space, dot, underscore, hyphen. Strings with characters other than these are rejected (only for the name parameter).

Request

Request Body

PoliciesPolicyRolePermissionRequest

Role Permission Request json

name

Required *

string

the displayed name for the role

description

string

a more detailed description of the role

permissions

array

An array of permissions that this role includes

Response

201 - Created

entity

PoliciesPolicyRoleResponseEntity

entity within the response for the POST and PUT /v3/enforcement/roles APIs

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

retrieve a role

GET /v3/enforcement/roles/{role_id}

Retrieves detailed information on a role given the role's identifier. This includes a list of permissions associated with this role.

Request

Path Parameters

role_id

Required *

string

role ID

Query Parameters

Response

200 - OK

entity

PoliciesPolicyRoleResponseEntity

entity within the response for the POST and PUT /v3/enforcement/roles APIs

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

update a custom category role

PUT /v3/enforcement/roles/{role_id}

Updates a custom category role. This API is also used to add and remove permissions from the custom category role. The permissions should be passed as an array of string that has permissions ids.Maximum length allowed for 'name' parameter: 80 characters, maximum length allowed for 'description' parameter: 1000 characters. If the parameter 'name' is modified, allowed characters for the 'name' parameter: letters from any language, numbers in any script, space, dot, underscore, hyphen. Strings with characters other than these are rejected (only for the name parameter).

Request

Request Body

PoliciesPolicyRolePermissionRequest

role json

name

Required *

string

the displayed name for the role

description

string

a more detailed description of the role

permissions

array

An array of permissions that this role includes

Path Parameters

role_id

Required *

string

role ID

Query Parameters

Response

200 - OK

entity

PoliciesPolicyRoleResponseEntity

entity within the response for the POST and PUT /v3/enforcement/roles APIs

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

delete a custom category role

DELETE /v3/enforcement/roles/{role_id}

Deletes a cusotm category role.

Request

Path Parameters

role_id

Required *

string

role ID

Query Parameters

Response

204 - No Content (OK)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

list all permissions in policy engine.

GET /v3/enforcement/roles/permissions

Lists all permissions of the policy engine.

Request

Response

200 - OK

resources

array

list of permissions

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

Sync a rule

PUT /v3/enforcement/rules/sync/{rule_id}

Syncs a rule in DPS with its global search index. If rule is found in DPS, its global search index is updated. If rule is not found in DPS, its global search index is removed.

Request

Path Parameters

rule_id

Required *

string

Rule ID

Query Parameters

Response

200 - OK

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesPolicyRuleResponseEntity

entity within the response for the /v3/enforcement/rules/{ruleId} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

retrieve a rule

GET /v3/enforcement/rules/{rule_id}

Retrieves detailed information on a rule given the rule's identifier.

Request

Path Parameters

rule_id

Required *

string

Rule ID

Query Parameters

Response

200 - OK

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesPolicyRuleResponseEntity

entity within the response for the /v3/enforcement/rules/{ruleId} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

update a rule

PUT /v3/enforcement/rules/{rule_id}

Updates a rule. Maximum length allowed for 'name' parameter: 80 characters, maximum length allowed for 'description' parameter: 1000 characters. If the parameter 'name' is modified, allowed characters for the 'name' parameter: letters from any language, numbers in any script, space, dot, underscore, hyphen. Strings with characters other than these are rejected (only for the name parameter). The governance_type_id cannot be modified.

Request

Request Body

PoliciesPolicyRuleRequest

Rule json

name

Required *

string

the displayed name for the rule

description

string

a more detailed description of the rule

governance_type_id

Required *

string

the name of a governance type of this rule

trigger

Required *

PoliciesExpression

nested arrays representing an expression that is evaluated to determine if the action on the rule should be performed or enforced. See the description on the POST /v3/enforcement/rules for more details.

conditions

array

action

Required *

PoliciesAction

the action to perform or enforce when the rule triggers

name

string

parameters

array

subaction

object

the action to perform or enforce when the rule triggers

roLTransform

boolean

state

string

the state of the rule. Only the rules of policies in active are enforced.

Path Parameters

rule_id

Required *

string

Rule ID

Query Parameters

Response

200 - OK

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesPolicyRuleResponseEntity

entity within the response for the /v3/enforcement/rules/{ruleId} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

delete a rule

DELETE /v3/enforcement/rules/{rule_id}

Deletes a rule. A rule can only be deleted if it is not currently associated with any policy (in any state).

Request

Path Parameters

rule_id

Required *

string

Rule ID

Query Parameters

Response

204 - No Content (OK)

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

list all rules

GET /v3/enforcement/rules

Lists all defined rules. This includes all rules associated with policies and rules not associated with any policy. When more than one filter criteria is specified, the resulting collection satisfies all the criteria.

Request

Path Parameters

Query Parameters

name

string

Specify name of the rule to search for or use filter of the form 'contains:xx' to search for rules containing provided phrase as part of name or use filter of the form 'exact:xx' to search for rules with exact name.

description

string

Specify description of the rule to search for or use filter of the form 'contains:xx' to search for rules containing provided phrase as part of description.

trigger

string

If specified, only rules with a matching trigger expression will be returned.

action

string

If specified, only rules with a matching action will be returned.

state

string

If specified, only rules in the matching state will be returned.

governance_type

string

If speficied, only rules with the matching governance type/types will be returned.

sort

string

The order to sort the rules. The following values are allowed:

  • name, -name -- ascending or descending order by the name
  • modified_date, -modified_date -- ascending or descending order by modified date

limit

string

The maximum number of Rules to return. The default value is 50.

offset

string

The index of the first matching Rule to include in the result. The default value is 0.

Response

200 - OK

limit

integer

the limit as specified on the query or defaulted

offset

integer

the offset as specified on the query or the default value 0

count

integer

total number of resources in the collection

first

PoliciesLink

link to the previous page of resources, if available

last

PoliciesLink

link to the previous page of resources, if available

next

PoliciesLink

link to the previous page of resources, if available

previous

PoliciesLink

link to the previous page of resources, if available

resources

array

list of rules

paginationValues

object

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

create a rule

POST /v3/enforcement/rules

Creates a rule. A rule has two key properties:

  1. a trigger defining when the rule should be enforced, and
  2. an action describing what operations to perform or outcome to enforce.

<b>Trigger</b>

A trigger is a boolean expression represented using nested arrays. The following describes the syntax:

 Expression: 
 [ -conditions- ] 
 
 Conditions: 
 -predicate- 
 &quot;NOT&quot;, -predicate- 
 -predicate-, &quot;AND&quot;|&quot;OR&quot;, -conditions- 
 &quot;NOT&quot;, -predicate-, &quot;AND&quot;|&quot;OR&quot;, -conditions- 
 
 Predicate: 
 [ &quot;$-term-&quot;, &quot;EXISTS&quot; ] 
 [ &quot;$-term-&quot;, &quot;EQUALS&quot;|&quot;LESS_THAN&quot;|&quot;GREATER_THAN&quot;|&quot;CONTAINS&quot;, &quot;#-literal-&quot;|&quot;$-term-&quot; ] 
 -expression- 

where:

  • -term- is a technical term defined in the term glossary.
  • -literal- is a literal. For numerics a string representation of the number should be specified. For times, milliseconds are used (from Unix epoch). For boolean, #true and #false are used.

The definition of the operators in a predicate:

  • EXISTS -- means that the term has a value of some kind.
  • EQUALS -- evaluates to true if the left and right sides are equal.
  • LESS_THAN -- evaluates to true if the left is less in numeric value than the right.
  • GREATER_THAN -- evaluates to true if the left is greater in numeric value than the right.
  • CONTAINS -- is meant to test an array term (such as Asset.Tags) with a single value. It evaluates to true if the value on the right side equals one of the values on the array on the left side.
    However it will also supports a single value on the left, in which case it behaves just like EQUALS -- regular expressions or wildcards are not supported.

For all of the operators (except EXISTS), if the right hand side evaluates to an array, each value of the array is compared to the left side, according to the operator definition, and if any comparison is true then the result of the evaluation is true.

Examples:

 [[&quot;$Asset.Type&quot;, &quot;EQUALS&quot;, &quot;#Project&quot;]] 
 [&quot;NOT&quot;, [&quot;$Asset.Tags&quot;, &quot;CONTAINS&quot;, &quot;#sensitive&quot;], &quot;AND&quot;, [&quot;NOT&quot;, &quot;$Asset.Tags&quot;, &quot;CONTAINS&quot;, &quot;#confidential&quot;]] 
 [[&quot;$User.Name&quot;, &quot;EQUALS&quot;, &quot;$Asset.Owner&quot;]] 

<b>Action</b>

The action is an name with optional parameters or subaction describing an operation to perform. For simple actions like Deny, only the action name will be provided. For actions such as Transform, a subaction with parameters describing the type of transform is also provided. The allowed actions depends on the governance type.

Examples:

 {&quot;name&quot;: &quot;Deny&quot;} 
 {&quot;name&quot;: &quot;Transform&quot;, &quot;subaction&quot;: {&quot;name&quot;: &quot;anonymizeColumns&quot;, &quot;parameters&quot;: [{&quot;name&quot;: &quot;column_name&quot;, &quot;value&quot;: &quot;CCN&quot;}]}} 

The maximum length allowed for 'name' parameter is 80 characters, maximum length allowed for 'description' parameter: 1000 characters. Allowed characters for the 'name' parameter: letters from any language, numbers in any script, space, dot, underscore, hyphen. Strings with characters other than these are rejected (only for the name parameter).

Request

Request Body

PoliciesPolicyRuleRequest

Rule json

name

Required *

string

the displayed name for the rule

description

string

a more detailed description of the rule

governance_type_id

Required *

string

the name of a governance type of this rule

trigger

Required *

PoliciesExpression

nested arrays representing an expression that is evaluated to determine if the action on the rule should be performed or enforced. See the description on the POST /v3/enforcement/rules for more details.

conditions

array

action

Required *

PoliciesAction

the action to perform or enforce when the rule triggers

name

string

parameters

array

subaction

object

the action to perform or enforce when the rule triggers

roLTransform

boolean

state

string

the state of the rule. Only the rules of policies in active are enforced.

Response

200 - Merged with an existing 'ResourceControl' rule.

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesPolicyRuleResponseEntity

entity within the response for the /v3/enforcement/rules/{ruleId} API

201 - Created

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesPolicyRuleResponseEntity

entity within the response for the /v3/enforcement/rules/{ruleId} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

export all rules

GET /v3/enforcement/rules/export

Export all defined rules as JSON.This includes all rules associated with policies and rules not associated with any policy.

Request

Path Parameters

Query Parameters

limit

string

The maximum number of Rules to return. The default value is 50.

offset

string

The index of the first matching Rule to include in the result. The default value is 0.

external_export

boolean

For export between two different systems. If specified as true, the ids in rules will be converted to names and added as export_components in the exported file

Response

200 - OK

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

retrieve terms used in a rule

GET /v3/enforcement/rules/{rule_id}/terms

Retrieves the names of all terms used in a rule.

Request

Path Parameters

rule_id

Required *

string

Rule ID

Query Parameters

Response

200 - OK

resources

PoliciesRuleTermCompleteListEntity

list of terms used in the rule

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

import rules

POST /v3/enforcement/rules/import

Imports rules using content recieved as application/octet-stream media type. Assumes content to be in UTF-8 charset. Expects "rules" JSON array contained in a JSON objects. Ignores other fields. Rule GUID is prerserved. Retruns JSON array containing GUIDs of newly imported rules.

Request

Request Body

The input stream for reading imported terms

Path Parameters

Query Parameters

external_import

boolean

For import between two different systems. If specified as true, the names in export_components of the import file will be matched and converted to the target system's ids.

commit

boolean

For external imports, if specified as true, the whole import will fail if there are any rules that fail to match ids in the target system. If specified as false, an analysis report will be returned.

overwrite

boolean

If specified as true, rules with the same name will be overwritten/updated. If specified as false, an error will be thrown for rules with the same name that exist already.

Response

200 - OK

imported

array

List containing details of rules that are successfully imported.

failed

array

List containing details of rules that are failed to import.

matched

array

List containing details of rules that are successfully matched.

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

413 - Content cannot be more than 1MB

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

retrieve tenant settings

GET /v3/enforcement/settings

Retrieves governance information and settings about a particular tenant given the tenant identifier.

Request

Response

200 - OK

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesSettingsResponseEntity

entity object within the response for the /v3/enforcement/settings/{tenantId} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array

update tenant settings

PUT /v3/enforcement/settings

Updates governance information and settings for the given tenant.

Request

Request Body

PoliciesPolicySettingsRequest

governedTenant json

governance_access_type

string

Data protection rules convention. Choose DEAA for 'Locked' convention and AEAD for 'Unlocked' convention.

asset_dealiasing_item_selection

string

Oldest - by creation date, Latest - by modified date, columns, Merge - merge annotations (terms and tags) of all aliases

access_decision_precedence

string

The rule action precedence for data protection rules. The actions, in order of leniency, are: Allow access, Mask and Filter, Deny access.

access_transform_precedence

string

The masking method precedence for data protection rules. The masking methods, in privacy order, are: Redact, Substitute, Obfuscate. The masking methods, in utility order, are: Obfuscate, Substitute, Redact.

enable_has_type_terms

boolean

enable/disable business glossary terms inheritance for DPR/DLR enforcement

enable_has_type_dataclasses

boolean

enable/disable dataclass terms inheritance for DPR/DLR enforcement

enable_has_type_classifications

boolean

enable/disable classification terms inheritance for DPR/DLR enforcement

enable_synonym_terms

boolean

enable/disable business glossary term 1 level synonym relationship for DPR/DLR enforcement

enable_lineage_evaluation

boolean

Enable evaluation based on asset's lineage

enable_policy_analytics

boolean

disable/enable report to policy transaction table for metrics purpose.

transform_option

string

This flag indicates if transform deep enforcement process using 'advanced' or 'classic'. The default value is advanced.

max_number_of_rules

integer

Maximum combined number of DPR and DLR rules supported.

enable_evaluation_audit

boolean

Enable/disable audit log for evaluation

Response

200 - OK

metadata

PoliciesPolicyResourceMetadata

metadata object used in responses returned from policy management related APIs

entity

PoliciesSettingsResponseEntity

entity object within the response for the /v3/enforcement/settings/{tenantId} API

400 - Bad Request

trace

string

errors

array

401 - Unauthorized

trace

string

errors

array

403 - Forbidden

trace

string

errors

array

404 - Not Found

trace

string

errors

array

500 - Internal Server Error

trace

string

errors

array