---
title: "Export every record, custom object type, and the change ledger, as one JSON file"
method: GET
path: "/v1/export"
tags: ["export"]
---

# Export every record, custom object type, and the change ledger, as one JSON file

`GET /v1/export`

## Request

- Base URL: `https://api.indraft.io`
- URL: `https://api.indraft.io/v1/export`
- Auth: HTTP bearer

Every record, every type you defined, and the ledger, in one documented file. Needs a credential explicitly created to export whose creator is an owner, so it is not something a token left in a configuration file can do quietly. Above 100 MB it refuses rather than returning part of your workspace.

## Response `200`

Success

- object
  - `format` 'indraft.workspace-export', required
  - `version` string, required
  - `exportedAt` string, required
  - `workspaceId` string, required
  - `tables` object, required
  - `counts` object, required

## Other responses

- `401`: No credential, or one that has been revoked.
- `403`: Authenticated, and this capability is not held.
- `429`: Infrastructure protection tripped. This is not a product quota.
- `500`: A defect on our side. The hint says so, and carries an incident id.

---

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