---
title: "Create Import"
method: POST
path: "/api/v1/imports"
tags: ["imports"]
---

# Create Import

`POST /api/v1/imports`

## Request body

- CreateImportRequest
  - `filename` string, required
  - `source_kind` 'rudus' | 'osp' | 'tpx'
  - `drawings` string[]

## Response `201`

Successful Response

- CreateImportResponse
  - `import_id` string, uuid, required
  - `uploads` UploadTarget[], required
    - `role` 'source' | 'drawing', required
    - `filename` string, required
    - `storage_path` string, required
    - `upload_url` string, required
  - `expires_in` integer, required

## Other responses

- `4XX` — Client Error
- `5XX` — Server Error

---

[API](https://skmtc.dev/rudus/apis/rudus-api.md) · [All operations](https://skmtc.dev/rudus/apis/rudus-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/rudus/rudus-api/revisions/f149124a4d80/schema)
