Export your conversations
You can download your conversations as one ZIP file. The file holds every message as Raven stores it, with the files of the messages inside.
Start an export
- Open Settings, then Data.
- Select a time range: All time, Last 30 days, Last 12 months, or Custom.
- Select a format: HTML or JSON.
- Select Export.
A conversation is in the export when it has activity in the range. It starts before the range ends, and its last change is after the range starts. The export holds the whole conversation, also the messages outside the range.
Raven prepares the export in the background. The list under Exports shows how many conversations it has written. You can leave the page while it runs.
One export runs at a time. To start another, wait for it to finish or stop it.
Download the export
When the export shows Ready, select Download. Raven keeps the file for 7 days, then deletes it. To delete it sooner, select the delete button of the export.
What the export holds
| Included | Not included |
|---|---|
| Conversations of the range, with their subagent conversations | Conversations in the trash |
| Every message of each branch, with its tool calls, tool results, thinking and system rows | Deleted messages |
| The files that the messages name, in base64 | Files of other users |
| Images from other websites, in base64, when Raven can download them | Memory, issues, notebooks, the wiki and other Cloud files |
A file that Raven cannot include shows the reason in place of its data:
| Reason | Meaning |
|---|---|
not_found | The file is deleted. |
not_owned | The file belongs to another user. |
fetch_failed | Raven could not download the image from its website. |
too_large | The image is larger than 100 MiB. |
The ZIP file
The ZIP holds manifest.json and one or more volumes, such as conversations-001.html. A volume holds about 256 MiB of data, so a browser can open it. A larger conversation gets a volume of its own. Each volume holds its own conversations and the files that they name, so it opens without the others. manifest.json lists the volumes and counts the conversations, messages and files.
HTML
Open a volume in a browser. It works offline. The list on the left shows the conversations of the volume. Select one to read it.
- A conversation shows the latest branch. At a fork, the arrows switch to another branch.
- Show every row by time shows all messages of the conversation in order.
- Tool calls, tool results, thinking and system rows are folded. Select one to open it.
- Images show in place. Select another file to download it.
- Subagent conversations are hidden. To show them, select Show subagent conversations.
- A file larger than 300 MiB does not open in the page. Its data is still in the volume.
The data of each volume is JSON inside the page. Each conversation and each file is a <script type="application/json"> element.
JSON
Each volume is one JSON document:
| Key | Value |
|---|---|
format, version, volume | raven.export, 1 and the number of the volume |
conversations | Each conversation with id, title, workspace_id, created_at, updated_at, metadata and messages |
workspaces | The name of each project, by id |
files | Each file by its file_id: name, mime, size and data in base64, or data: null and missing |
external | Each image from another website by its URL: mime, size and data, or data: null and missing |
A message has id, parent_id, role, created_at, updated_at, content and metadata. parent_id links the branches. content is the list of parts as Raven stores it. A file part names its file with file_id.