Export memory contents
exportGenerate a portable snapshot of stored memories in JSON, JSONL, or Markdown for backup or analysis; supports pagination and filtering by tag or ID prefix.
Instructions
Read a portable snapshot of memory contents as JSON, JSONL or Markdown; use list for short previews instead. Read-only. The payload is returned as text and capped by the server's export byte limit; pass next_cursor as cursor to continue.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| tag | No | Include only memories carrying this tag. | |
| limit | No | Maximum memories in this export segment, also bounded by the server's byte limit. | |
| cursor | No | `next_cursor` from the previous export segment. | |
| format | No | Serialization of the returned text payload. | json |
| prefix | No | Include only memory ids starting with this prefix. |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
| bytes | Yes | Size of the returned text payload in bytes. | |
| count | Yes | Number of exported memories in this segment. | |
| format | Yes | Serialization used for the text payload. | |
| next_cursor | Yes | Pass a string value as `cursor` for the next segment; null ends the export. |