quantaoptima_export_chain
Export the full audit chain as JSON or an interactive HTML timeline for independent HMAC verification, stakeholder sharing, or compliance review.
Instructions
Export the full audit chain as JSON or as an interactive HTML viewer.
The exported file contains every block with its HMAC-SHA256 signature, timestamps, before/after state, and chain linkage.
JSON exports can be independently verified by anyone with the HMAC key. HTML exports produce a self-contained interactive timeline that anyone can open in a browser — perfect for sharing with stakeholders, compliance officers, or collaborators.
Available on all tiers. Pro adds: advanced analytics and compliance reports.
Args: filepath: File path to save the export. If empty, returns data inline. For HTML format, use a .html extension (e.g., "audit_trail.html"). format: "json" (default) or "html" (interactive timeline viewer).
Returns: JSON with the exported chain data or confirmation of file save.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| format | No | json | |
| filepath | No |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| result | Yes |