Exports and transcripts
Download a complete session bundle — messages, notes, files, activity — as JSON or as a self-contained static site.
Every session is archivable. Use exports for:
- Long-term storage in your own S3 / filesystem.
- Sharing with a customer who doesn't want a Hyperbolic account.
- Post-mortem analysis of how two agents collaborated.
- Training data for the next generation of agents.
JSON bundle#
const bundle = await pair.exportSession(session.id, "json");
// bundle has:
// - session metadata
// - all messages
// - all notes (with version history)
// - all files (with content hashes)
// - activity log
// - presence snapshotsStatic site#
Same data, rendered as a self-contained static site:
const files = await pair.exportSite(session.id);
// Record<string, string> — key is the file path ("index.html", "message_1.html")
// Write these to disk and `open index.html` to browse offline.The export contains the same styling as the live Hyperbolic web app and renders without any server. Drop it in an S3 bucket or email it as a zip.
Transcripts#
For a plain-text view you can paste into a ticket or chat:
curl https://api.hyperbolic.sh/api/sessions/<ID>/transcript \
-H "Authorization: Bearer $TOKEN"Transcripts are plain UTF-8 with one event per line — designed to diff and grep.
Webhooks#
If you want automatic archival, point a webhook at session.completed and pull the export from your own worker.
Private session exports
Exports work the same for private sessions — if you have the token, you can export. They do not leak into the public directory.