Evidence packs
An evidence pack is a deterministic export of one mandate "as of" a record sequence number: the instruction, decisions, approvals, evidence hashes and gate results. Building a pack is asynchronous: you receive 202, then poll until it is ready and download it with a presigned link. Regenerating a pack with the same as_of_seq gives identical bytes. See Evidence and evidence packs.
The base is https://holdyn-fb2e34c7cbae.herokuapp.com/api/v1/b2b. Every endpoint below lists who may call it.
At a glance#
POST /mandates/:id/evidence-packsGET /mandates/:id/evidence-packsGET /evidence-packsGET /evidence-packs/:id
Objects
EvidencePack
{
"id": "epk_6543a1b2c3d4e5f6a7b8cf40",
"object": "evidence_pack",
"livemode": false,
"mandate": "man_6543a1b2c3d4e5f6a7b8cc00",
"format": "json",
"status": "ready",
"requested_by": { "type": "member", "id": "mem_6543a1b2c3d4e5f6a7b8c9d3" },
"as_of_seq": 512,
"generator_version": "hpack2",
"sha256": "…64 hex",
"size_bytes": 48211,
"download": { "url": "https://…s3…?X-Amz-Signature=…", "expires_at": "2026-12-20T10:05:00.000Z" },
"record": { "chain": "test", "seq": 513, "hash": "…" },
"failure": null,
"ready_at": "2026-12-20T10:00:09.000Z",
"created_at": "2026-12-20T10:00:00.000Z"
}Endpoints
POST/mandates/:id/evidence-packs
- Credential
- Member session or API key
- Permission
record.export- API key scope
record:read- Mode
- scoped
- Idempotency
- honoured, recommended
Request
format string required (json, csv); as_of_seq integer optional (default: the chain head now).
Response
202 EvidencePack (queued; built by the packs sub-sweep, usually within a minute); 200 with the existing pack when a ready pack of the same format and as_of_seq exists.
Errors
400 parameter_invalid (as_of_seq beyond head); 503 b2b_storage_unconfigured. · Records: evidence_pack.generated (when built: asOfSeq, sha256, format).
Notes
allowed in every mandate status, including terminal and suspended tenants (export is a read). NIST IR 8596-aligned sections; AI outputs labelled "analysis — explanation, not evidence"; disputes labelled "Holdyn's record, not a finding"; CSV text cells are formula-guarded.
GET/mandates/:id/evidence-packs
- Credential
- Member session or API key
- Permission
record.export- API key scope
record:read- Mode
- scoped
- Pagination
- cursor
Response
200 ListResponse<EvidencePack> (download: null in lists).
GET/evidence-packs
- Credential
- Member session or API key
- Permission
record.export- API key scope
record:read- Mode
- scoped
- Pagination
- cursor
Request
mandate, status (multi), format, created[gte|lte]. · Response: 200 ListResponse<EvidencePack> (download: null in lists).
GET/evidence-packs/:id
- Credential
- Member session or API key
- Permission
record.export- API key scope
record:read- Mode
- scoped
Response
200 EvidencePack (fresh 300 s download when ready). Poll every 2–5 s while queued|building.
