---
title: "Export Memory"
method: GET
path: "/v1/export"
tags: ["Memory"]
---

# Export Memory

`GET /v1/export`

## Request

- Base URL: `https://mengram.io` (the document declares no server; this is the origin it was published from)
- URL: `https://mengram.io/v1/export`
- Auth: none declared. Required headers: `authorization`

Export this memory as plain files you own.

`format=markdown` returns a zip of an Obsidian-native tree — one file per
entity, relations as `[[wikilinks]]`, procedures with their track record
and the failures that changed them. `format=files` returns that same
tree as `{path: text}` for clients that write files themselves rather
than unpack an archive — the Obsidian plugin's pull. `format=json`
returns the underlying records, for callers doing their own thing.

Read-only, and deliberately not charged against the add or search quota:
getting your data out should never cost you the ability to use the
product. The per-minute rate limit still applies.

## Query parameters

- `format` string
- `sub_user_id` string

## Headers

- `authorization` string, required

## Response `200`

Successful Response

- unknown

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mengram/apis/mengram-api.md) · [All operations](https://skmtc.dev/mengram/apis/mengram-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mengram/apis/mengram-api/revisions/f871fd1fd3a8?raw)
