Step 3 10 min

Export a Proof Bundle

Export a ZIP file with all cryptographic evidence for auditors or regulators.

Why Export a Proof Bundle?

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.

Request a Forensic Export

Export Proof Bundletypescript
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}`;
Response200 OK
{
  "export_id": "exp_abc123",
  "status": "processing",
  "estimated_size": "2.4 MB"
}

What Is in the ZIP?

Signed execution envelopes (JSON)
ML-DSA-44 signatures (binary)
Public keys for verification
Chain of trust proofs
README with verification instructions

Forensic Replay complete!

  • Query the audit trail for any agent
  • Step through actions with cryptographic proof
  • Export proof bundles for auditors and regulators