---
title: "Start importing a workspace file"
method: POST
path: "/api/workspaces/{workspaceName}/import"
tags: ["dataset"]
---

# Start importing a workspace file

`POST /api/workspaces/{workspaceName}/import`

## Request

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

Starts importing a workspace file, as written by the workspace export, as a new workspace of the given name. Returns the id of the job to poll for progress at /api/workspaces/{workspaceName}/imports/{jobId}. The file is checked completely first: if anything in it is invalid, nothing is imported and the job's status lists every problem.

## Path parameters

- `workspaceName` string, required

## Headers

- `Origin` string

## Request body `multipart/form-data`

- object
  - `file` string, binary, required: The workspace file

## Response `202`

Import started

- ImportJobCreatedResponse
  - `jobId` string, uuid

## Other responses

- `409`: An import is already running for this session

## Changes

- **2026-11-23** `bd7ed7111924`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/soptim/apis/rdfarchitect-backend/changes/api/workspaces/:workspaceName/import/post.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)
