---
title: "Export the workspace vault (async job)"
method: POST
path: "/v1/vault/export"
tags: ["vault"]
---

# Export the workspace vault (async job)

`POST /v1/vault/export`

## Request

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

Returns 202 with a job id. The export is a tar.gz in the OSS CLI layout (`research/notes/*.md`, `research/raw/*`, `research/runs/<tag>/**`, `.hyperresearch/config.toml`) plus a manifest, written to R2 and downloadable via a signed URL from `GET /v1/jobs/:id`.

## Response `202`

Export 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)
