Export a ZIP file with all cryptographic evidence for auditors or regulators.
When a regulator or auditor asks for evidence, you export a Proof Bundle. This is a ZIP file containing every signed envelope, every signature, the public keys for verification, and the chain of trust. The auditor can verify everything independently without needing access to your MOSS account.
const exportReq = await fetch('https://api.mosscomputing.com/v1/forensic/export', {
method: 'POST',
headers: {
'Authorization': 'Bearer ' + access_token,
'Content-Type': 'application/json',
},
body: JSON.stringify({
agent_id: 'agt_abc123',
from: '2026-01-01',
to: '2026-08-25',
include_signatures: true,
include_public_keys: true,
}),
}).then(r => r.json());
// Download the ZIP when ready
const downloadUrl = `https://api.mosscomputing.com/v1/forensic/export/${exportReq.export_id}`;{
"export_id": "exp_abc123",
"status": "processing",
"estimated_size": "2.4 MB"
}Forensic Replay complete!