heymcp sessions or from the inspector URL.
Export reads from stored history, so it only works while the session is within
your retention window — 24 hours on Hobby,
7 days on Pro. An expired session exports nothing.
Options
default:"json"
Which shape to write.
Write to a file instead of stdout.
The json format
Everything, losslessly. The full session metadata plus every raw event in
arrival order:
The vizra format
Deliberately narrow: ordered tool calls with their arguments, results and the
client that made them. Enough to replay a session deterministically, and
nothing else.
ok is null when no result was ever paired to the call — the agent asked and
nothing came back.
Use this when you’re turning real agent behaviour into an evaluation fixture.
The interesting property is that the arguments are what a real model actually
sent, not what you imagined it would send.
A worked use
The classic one. An agent breaks your tool by sending"7pm" for a date: