Archive — Exports
/api/archive/exports. Packages assembled out of the archive and handed to somebody.
An export is a job, not a response. Assembling one reads every document in
scope out of the object store, so creating it answers
202 with a handle and a
worker builds the package. A caller re-reads the handle until the status settles, then
downloads — this page does that for you. Status is server-driven throughout: you create and
cancel, never set a state.
The scope is either explicit document ids or a search, never both. A supplied
idempotencyKey is honoured here (unlike ingest): a retried create returns the
first job instead of assembling a second package. The contract also offers
json and csv, which hold metadata without the documents; this
page asks for zip, the only format that carries file bytes.
Create —
POST /exportszip
— the only format that carries files
One or the other — the archive refuses a request that names both.
An archive should be able to say who took what out of it, and why.
Jobs —
GET /exports
Not in v5.8 — the contract offers no way to enumerate exports, so a client that
lost a handle could never find its job again.
| Export | Status | Type | Format | Docs | Size | |
|---|---|---|---|---|---|---|
| exp_20260908-122156 | expired | evidence_pack | zip | 2 | 1.6 MB | |
| exp_20260908-121525 | expired | evidence_pack | zip | 2 | 1.6 MB | |
| exp_20260907-094623 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260907-093117 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260904-170732 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260904-170606 | expired | evidence_pack | zip | 2 | 951 B | |
| exp_20260904-163651 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260904-160949 | expired | evidence_pack | zip | 2 | 1.5 KB | |
| exp_20260904-142717 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260904-134748 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260902-135019 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260902-133103 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260901-104759 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260901-103556 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260901-103234 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260831-141923 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260831-141318 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260831-134957 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260831-133958 | expired | evidence_pack | zip | 2 | 1.4 KB | |
| exp_20260831-111603 | expired | evidence_pack | zip | 1 | 1.1 KB |