---
title: "Get the progress of an import"
method: GET
path: "/api/workspaces/{workspaceName}/imports/{jobId}"
tags: ["dataset"]
---

# Get the progress of an import

`GET /api/workspaces/{workspaceName}/imports/{jobId}`

## Request

- The document declares no server URL.
- Auth: none declared

Returns the progress of a running import and the result of a finished one, including the graphs that were imported, the files that failed and any warnings.

## Path parameters

- `workspaceName` string, required
- `jobId` string, uuid, required

## Response `200`

OK

- ImportJobStatus
  - `errorMessage` string
  - `files` ImportFileStatus[]
    - `done` integer
    - `fileName` string
    - `index` integer
    - `reason` string
    - `schemaName` string
    - `sizeBytes` integer
    - `state` 'PENDING' | 'RUNNING' | 'IMPORTED' | 'SCANNED' | 'FAILED' | 'SKIPPED'
    - `total` integer
  - `jobId` string, uuid
  - `outcome` union
    - GraphsImported
      - [`ImportOutcome`](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8/schema?at=%2Fcomponents%2Fschemas%2FImportOutcome)
      - object
        - `failedFileNames` string[]
        - `schemaNames` string[]
        - `warnings` ImportWarning[]
          - `fileName` string
          - `items` UncarriedItem[]
            - `reason` string
            - `resource` string
          - `schemaName` string
    - PackagesScanned
      - [`ImportOutcome`](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8/schema?at=%2Fcomponents%2Fschemas%2FImportOutcome)
      - object
        - `classNames` string[]
        - `diagrams` ScannedDiagram[]
          - `classes` integer
          - `fileIndex` integer
          - `id` string
          - `name` string
          - `packageId` string
          - `supplierGroups` integer[]
        - `packages` ScannedPackage[]
          - `declaredClasses` integer
          - `dependencyClasses` integer
          - `extensionNamespace` string
          - `fileIndex` integer
          - `fileName` string
          - `hasExtensionElements` boolean
          - `id` string
          - `modelNamespace` string
          - `name` string
          - `namespaceCandidates` string[]
          - `ownClasses` integer[]
          - `ownDependencies` integer[]
          - `parentId` string
          - `profile` boolean
        - `prefixes` ScannedPrefix[]
          - `fileIndex` integer
          - `namespace` string
          - `prefix` string
        - `supplierGroups` SupplierGroup[]
          - `fileIndex` integer
          - `index` integer
          - `packageIds` string[]
          - `packageOnlyIds` string[]
    - WorkspaceImported
      - [`ImportOutcome`](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8/schema?at=%2Fcomponents%2Fschemas%2FImportOutcome)
      - object
        - `cancelled` boolean
        - `notices` string[]
        - `schemaNames` string[]
  - `prefixComparison` PrefixComparison[]
    - `contested` boolean
    - `imported` PrefixBinding[]
      - `fileNames` string[]
      - `iri` string
    - `prefix` string
    - `workspace` PrefixBinding
      - `fileNames` string[]
      - `iri` string
  - `problems` string[]
  - `state` 'RUNNING' | 'SCANNING_PREFIXES' | 'AWAITING_PREFIX_RESOLUTION' | 'COMPLETED' | 'CANCELLED' | 'FAILED'
  - `workspaceName` string

## Other responses

- `404`: No such import job

## Changes

- **2026-11-24** `67612da60962`: 10 warning, 8 info
  - removed the optional property `failedImports` from the response with the `200` status
  - removed the optional property `failedImports` from the response with the `404` status
  - removed the optional property `importedSchemaNames` from the response with the `200` status
  - removed the optional property `importedSchemaNames` from the response with the `404` status
  - …14 more
- **2026-11-23** `bd7ed7111924`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/workspaces/:workspaceName/imports/:jobId/get.md)

---

[API](https://skmtc.dev/soptim/apis/rdfarchitect-backend.md) - [All operations](https://skmtc.dev/soptim/apis/rdfarchitect-backend/llms.txt) - [OpenAPI document](https://skmtc.dev/soptim/apis/rdfarchitect-backend/revisions/21e6477d8dd8?raw)
