For the complete documentation index, see llms.txt. This page is also available as Markdown.

Working with the Import API v2

The import functionality allows you to create or edit data in bulk in Collibra. By importing, you can create and edit communities, domains, assets, mappings, or complex relations and their characteristics such as attributes, relations, responsibilities, and tags.

All Import API operations require authentication. For instructions, see the Collibra REST API authentication tutorial.

Import REST API endpoints and parameters

You can import communities, domains, assets, mappings and complex relations using the following endpoints:

  • /import/json-job

  • /import/csv-job

  • /import/excel-job

Mandatory parameters

You must provide the following parameters:

Parameter
Parameter type
Description

fileId

String (UUID)

The universally unique identifier (UUID) of a file previously uploaded to Collibra Platform.

file

String (binary)

The JSON, CSV or Excel file. During the import, CSV and Excel files are converted to JSON.

template

String

The JSON template interprets the tabular data for CSV and Excel files.

Optional import parameters

The following table summarizes additional Import API v2 POST parameters:

Parameter
Parameter type
Description

sendNotification

Boolean

Whether notifications about the import job should be sent.

The default value is false.

simulation

Boolean

Whether to test the import before applying any changes to Collibra. When true, the Import API performs a simulation of the import or synchronization and produces a summary of the result.

This parameter does not apply to synchronization requests. It is only relevant for import and ignored for synchronization methods.

The default value is false.

Enabling both continueOnError and simulation in the same request is not supported.

Boolean

Whether the import should continue if some of the import commands are invalid or failed to execute.

If true, the valid commands are still committed to the database, which can lead to partial results being stored.

The default value is false.

Enabling both continueOnError and simulation in the same request is not supported.

fileName

String

The name the file will receive once uploaded to Collibra.

The default value is import_file.

deleteFile

Boolean

Whether to delete the import file after a successful import. Regardless of this setting, the file is kept in case of a failed import.

The default value is false.

relationsAction

String

The action to take in case of existing relations for the specified relation types. The possible values are:

  • REPLACE: The relations are replaced.

  • ADD_OR_IGNORE: The import only adds new relations.

The default value is REPLACE.

attributesAction

String

The action to take in case of existing attributes for the specified attribute types. The possible values are:

  • REPLACE: The attributes are replaced.

  • ADD_OR_IGNORE: The import only adds new attribute values.

The default value is: REPLACE.

synchronizationId

String (UUID)

The synchronization ID of the operation.

Additional resources

  • Consult the Collibra REST Import API documentation provided with your version of Collibra Platform at https://<your_collibra_url>/api-docs/index.html?urls.primaryName=import-api.

Last updated

Was this helpful?