---
title: "Export the whole workspace"
method: POST
path: "/workspace/exports"
tags: ["workspace"]
---

# Export the whole workspace

`POST /workspace/exports`

## Request

- Base URL: `https://localhost:4410/api/v1`
- URL: `https://localhost:4410/api/v1/workspace/exports`
- Auth: HTTP bearer

Starts a job that builds one archive: every document version with its hash, each sent envelope's evidence bundle, the SAFE register as CSV, OCF and PDF, parties and members as CSV, the archive, the audit log as JSON Lines with every anchor, manifest.json and verify.mjs, which checks it all offline. An owner confirms with a passkey and gets an email when it's ready; the download works for 24 hours, after signing in.

## Request body

- object

## Response `200`

The result.

- object
  - `id` string, required
  - `job_id` string, required
  - `status` 'queued' | 'building' | 'ready' | 'failed', required
  - `files` integer, nullable, required
  - `size` integer, nullable, required
  - `sha256` string, nullable, required
  - `ready_at` string, date-time, nullable, required
  - `expires_at` string, date-time, nullable, required
  - `expired` boolean, required
  - `download_path` string, nullable, required
  - `error` string, nullable, required
  - `created_at` string, date-time, required

## Other responses

- `202`: Called by an agent or an API key, so the call did not run. A person approves it at approval_url; then GET the Location.
- `default`: An RFC 9457 problem.

---

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