---
title: "Import a vault archive (async job)"
method: POST
path: "/v1/vault/import"
tags: ["vault"]
---

# Import a vault archive (async job)

`POST /v1/vault/import`

## Request

- Base URL: `https://api.hyperresearch.ai`
- URL: `https://api.hyperresearch.ai/v1/vault/import`
- Auth: one of:
  - HTTP bearer
  - API key in cookie `hr_session`

Body is the raw tar.gz archive (same layout as export). Stored under `ws/<ws>/imports/` then validated in the job: path traversal, links, entry/byte limits and expansion bombs are rejected before any note is written.

## Response `202`

Import queued

- VaultJobCreated
  - `job_id` string, required
  - `kind` 'export' | 'import', required
  - `status` 'queued', required

## Other responses

- `400`: Invalid request
- `401`: Authentication failed
- `403`: Insufficient scope or plan
- `404`: Not found
- `429`: Rate limited or over quota
- `500`: Internal error
- `503`: Internal error

---

[API](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api.md) · [All operations](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/hyperresearch/apis/hyperresearch-cloud-api/revisions/726ef831ebf4?raw)
