> For the complete documentation index, see [llms.txt](https://developer.collibra.com/llms.txt). Markdown versions of documentation pages are available by appending `.md` to page URLs; this page is available as [Markdown](https://developer.collibra.com/api/guides/import-api/import-results/extended-import-summary.md). Agents can also search and read this documentation through its [MCP server](https://developer.collibra.com/~gitbook/mcp).

# Extended import summary

By default, the job summary only contains the number of resources that the job added, updated, and removed. To get the details of what each import changed, set the **extendedSummary** parameter to `JSON`. The job then writes an extended summary file that lists every asset and complex relation that the job added or changed, including the old and new values.

The extended summary is also available for simulations, which you start with `simulation=true`. In that case, nothing changes in Collibra and the file lists the changes that the import would make.

## Retrieving the extended summary

When the job finishes, its summary contains the ID of the extended summary file in the `extendedSummaryFileId` property:

```json
{
  "message": {
    "type": "IMPORT",
    "extendedSummaryFileId": "00000000-0000-0000-0000-000000000000"
  }
}
```

Use the Core REST API v2 GET method of the /files/{fileId} endpoint with this ID to download the file. Note the following:

* The file is temporary and is available for 8 hours.
* When you enable both **extendedSummary** and `saveResult`, the base summary keeps its `types` section.

## Limit

The file lists at most 10000 resources. If the import affects more resources, `limitExceeded` is `true` and `resources` is empty. In that case, use the counts in the base summary or split the import into smaller jobs.

## File structure

| Property      | Description                                                                                                                                                                                                                  |
| ------------- | ---------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| type          | `IMPORT`, or `SIMULATION_REPORT` for a simulation.                                                                                                                                                                           |
| jobId         | The ID of the import job.                                                                                                                                                                                                    |
| limitExceeded | `true` if the import affected more than 10000 resources and the list of resources is omitted.                                                                                                                                |
| resources     | The list of added or changed resources. Each entry has a `resourceType` of `Asset` or `ComplexRelation`, and an `operation` of `ADD` or `CHANGE`. Resources are identified by `identifier.id`. Empty properties are omitted. |

Single-value properties, such as `name`, `displayName`, `domain`, `type`, `status`, and `tags`, have the form `{ "old": ..., "new": ... }`. For an `ADD` operation, only `new` is present. Collections, such as `attributes`, `relations`, `responsibilities`, and `legs`, have the form `{ "added": [...], "removed": [...] }`.

### Asset properties

| Property          | Description                                                                                                                                                                                                                               |
| ----------------- | ----------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------------- |
| name, displayName | The old and new name and display name.                                                                                                                                                                                                    |
| domain            | The old and new domain, as `{ "name": ..., "community": { "name": ... } }`.                                                                                                                                                               |
| type              | The old and new asset type, as `{ "publicId": ... }`.                                                                                                                                                                                     |
| status            | The old and new status, as `{ "name": ... }`.                                                                                                                                                                                             |
| attributes        | The values that were added and removed, keyed by attribute type public ID.                                                                                                                                                                |
| relations         | The related assets that were added and removed, as `{ "name": ..., "domain": { ... } }`. The keys have the form `<relation type public ID>:SOURCE` or `<relation type public ID>:TARGET`, which is the role of the asset in the relation. |
| responsibilities  | The owners that were added and removed, keyed by role name. Each owner is either `{ "user": { "id": ..., "userName": ... } }` or `{ "userGroup": { "id": ..., "name": ... } }`.                                                           |
| tags              | The old and new sorted list of tags of the asset.                                                                                                                                                                                         |

Complex relations have the properties `type`, which is the old and new complex relation type, `legs`, which are the assets that were added and removed, keyed by leg public ID, and `attributes`.

## Example: changed asset

```json
{
  "type": "IMPORT",
  "jobId": "00000000-0000-0000-0000-000000000000",
  "limitExceeded": false,
  "resources": [
    {
      "operation": "CHANGE",
      "identifier": { "id": "00000000-0000-0000-0000-000000000001" },
      "name": { "old": "AssetC", "new": "AssetC2" },
      "status": {
        "old": { "name": "Candidate" },
        "new": { "name": "Approved" }
      },
      "attributes": {
        "<attributeTypePublicId>": {
          "added": [ "New value" ],
          "removed": [ "Old value" ]
        }
      },
      "tags": {
        "old": [ "old1", "old2" ],
        "new": [ "new1", "old2" ]
      },
      "resourceType": "Asset"
    }
  ]
}
```


---

# Agent Instructions
This documentation is published with GitBook. GitBook is the documentation platform designed so that both humans and AI agents can read, navigate, and reason over technical content effectively. Learn more at gitbook.com.

## Querying This Documentation
If you need additional information that is not directly available in this page, you can query the documentation by asking a question.

Perform an HTTP GET request on the following URL with the `ask` and `goal` query parameters:

```
GET https://developer.collibra.com/api/guides/import-api/import-results/extended-import-summary.md?ask=<question>&goal=<user_goal>
```

`ask` is the immediate question: it should be specific, self-contained, and written in natural language.
`goal` is what the user is ultimately trying to achieve, the reason they need the answer. Sharing it helps GitBook give you a better, more relevant answer. A goal is most helpful when it describes the outcome the user wants rather than restating the question. For example, with `ask=how do I create an API token`, a goal like `automate deployments from our CI pipeline` lets GitBook tailor the answer to that use case.

The response will contain a direct answer to the question and relevant excerpts and sources from the documentation.

Use this mechanism when the answer is not explicitly present in the current page, you need clarification or additional context, or you want to retrieve related documentation sections.
