/export [path] command serializes the current conversation as a ShareGPT-style JSONL trajectory — the common format for model training/evaluation data. It is provider-agnostic: it serializes the session history (user and assistant turns, including tool calls/results) regardless of which LLM produced it.
Usage
~/.chatcli/exports/trajectory-<timestamp>.jsonl. You can pass an explicit path:
Format
Each line is a JSON object with the conversation in the ShareGPT schema (conversations with human/gpt/etc. roles), making the file directly consumable by fine-tuning pipelines and evaluation tools that expect ShareGPT.
See also
- Agent Mode
- Session Management —
/session search, save/load/fork - Command Reference