---
title: "Create Import Upload"
method: POST
path: "/v2/imports/uploads"
tags: ["imports"]
---

# Create Import Upload

`POST /v2/imports/uploads`

## Request

- Base URL: `https://api.hud.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.hud.ai/v2/imports/uploads`
- Auth: none declared

Reserve a data file for a bundle and return a presigned PUT to upload its bytes.

## Request body

- ImportUploadRequest: A bundle upload, reserved in the caller's data folder under the format's size limit. Publish the uploaded file with ``POST /data/{file_id}/complete`` before importing it.
  - `filename` string, required
  - `size_bytes` integer, required
  - `content_type` string
  - `format` 'harbor', required

## Response `201`

Successful Response

- DataFileUploadResponse: A reserved data file and the presigned PUT that fills it.
  - `file` DataFileResponse, required: Size is reserved up front and verified against the stored object on completion.
    - `id` string, uuid, required
    - `team_id` string, uuid, required
    - `membership_id` integer, required
    - `scope` 'member' | 'team', required
    - `status` 'pending' | 'ready', required
    - `filename` string, required
    - `content_type` string, nullable, required
    - `size_bytes` integer, nullable, required
    - `created_at` string, date-time, required
    - `updated_at` string, date-time, required
  - `upload_url` string, required

## Other responses

- `400`: Invalid or malformed request
- `401`: Missing or invalid credentials
- `403`: Caller may not access this resource
- `404`: Referenced entity does not exist
- `409`: Resource already exists
- `422`: Validation Error
- `429`: Rate limit exceeded; wait at least Retry-After seconds
- `503`: The server is at capacity; retry after Retry-After seconds

## Changes

- **2026-10-11** `61e27d1992f5`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/hud/apis/hud-platform/changes/v2/imports/uploads/post.md)

---

[API](https://skmtc.dev/hud/apis/hud-platform.md) - [All operations](https://skmtc.dev/hud/apis/hud-platform/llms.txt) - [OpenAPI document](https://skmtc.dev/hud/apis/hud-platform/revisions/d642039f5fa6?raw)
