# MyMemory documentation > Developer documentation for MyMemory (mymemory.dev), a personal memory app: save notes, web pages, PDFs, videos and posts, then search them and ask AI questions answered from your own saves. This site covers the REST API, the MCP servers for AI assistants, and the product. MyMemory is a personal memory app, not a translation service or translation API. ## API essentials - Base URL: `https://api.mymemory.dev/v1` - Auth: `Authorization: Bearer sm_…` (create or rotate the key in the MyMemory dashboard; rotating invalidates every older key) - OpenAPI 3 spec: https://docs.mymemory.dev/openapi.json (also https://mymemory.dev/openapi.json) - IDs: memories and spaces have string IDs in the `uuid` field (memories look like `add-123-Zt8Rk4MwHs`, spaces like `Qx7Lp2NcVb`; treat them as opaque). Use `uuid` wherever an endpoint asks for an ID; search results also carry a numeric `id`, which you can ignore. - Errors: non-2xx status with `{ "error": "…" }`, sometimes with `message` or `details`. `400` invalid request, `401` bad key, `403` not yours or plan limit reached, `404` not found, `409` already saved, `429` rate limit or AI budget. - Rate limits per minute, per endpoint: Free 60, Plus 300, Pro 600. `RateLimit-Limit` shows the limit; a `429` carries `Retry-After` (seconds to wait). - Adding is asynchronous: `POST /add` returns the memory's `id` at once and the memory is listed in its spaces right away; it becomes searchable when `GET /memories/{id}` shows `processingStage: "ready"`. ## Endpoints - [Add a memory](https://docs.mymemory.dev/api-reference/endpoints/memory-management/post-add): `POST /add` with `content` (text or URL); optional `type: "note"`, `title`, `spaces` (up to 5 space IDs; you need to own the space or have `edit` access, otherwise `403`), `tags` (up to 20), `metadata`, `eventAt`. A URL that is only the home page of Instagram, Facebook, X or LinkedIn is rejected with `400`; send the post's own link or a note. - [List memories](https://docs.mymemory.dev/api-reference/endpoints/memory-management/get-memories): `GET /memories`. With an API key it lists every memory, in spaces or not. `spaceId` lists one space; `scope=home` lists only memories in no space. Filters `tags` and `tagMode=and|or`. Pages with `limit` (max 50) and `cursor` (`nextCursor`), or `start` inside a space. `total` counts all pages. Someone else's public space lists display fields only (no `userId`, `tags`, `contentHash`, `errorMessage` or internal metadata). - [Get a memory](https://docs.mymemory.dev/api-reference/endpoints/memory-management/get-memory): `GET /memories/{id}`, full content and `processingStage`. There is no `GET /memories/search`. - [Update a memory](https://docs.mymemory.dev/api-reference/endpoints/memory-management/patch-memory): `PATCH /memories/{id}` with `tags` (replaces), `metadata` (merged) or `content` (notes only, re-indexed). - [Delete a memory](https://docs.mymemory.dev/api-reference/endpoints/memory-management/delete-memory): `DELETE /memories/{id}`; permanent on Free, moved to the Trash on paid plans. - [Delete several memories](https://docs.mymemory.dev/api-reference/endpoints/memory-management/batch-delete): `POST /memories/batch-delete` with `ids`; permanent on Free, moved to the Trash on paid plans; returns `deletedCount`. - [Search](https://docs.mymemory.dev/api-reference/endpoints/search/post-search): `POST /search` with `query`; optional `limit` (max 100), `spaces` (or `spaceId`), `before`, `after`, `recencyBias`, `threshold` (leave unset). Hybrid keyword and semantic matching, across languages; each result has `matchType` (`keyword`, `semantic`, `hybrid`). Unknown body fields are returned in `ignoredFields`. - [Chat](https://docs.mymemory.dev/api-reference/endpoints/search/post-chat): `POST /chat` with `messages`; optional `threadId`, `spaces`, `before`, `after`, `stream` (default true; `false` returns `{ text, threadId, refused, citations }`). - [List spaces](https://docs.mymemory.dev/api-reference/endpoints/spaces/get-spaces): `GET /spaces`, yours and shared ones. - [Create a space](https://docs.mymemory.dev/api-reference/endpoints/spaces/create-space): `POST /spaces/create` with `spaceName` and `isPublic` (`POST /spaces` is not a route). - [Add a memory to a space](https://docs.mymemory.dev/api-reference/endpoints/spaces/add-to-space): `POST /spaces/addContent` with `spaceId` and `documentId`. - [Invite to a space](https://docs.mymemory.dev/api-reference/endpoints/spaces/invite-to-space): `POST /spaces/{spaceId}/invite` with `email` and `accessType` (`read` or `edit`); owner only. Emails the invitee and notifies them in the app. - [List space access](https://docs.mymemory.dev/api-reference/endpoints/spaces/get-space-access): `GET /spaces/{spaceId}/access`, owner only; each invitee's `email`, `status` and `accessType`. - [Remove space access](https://docs.mymemory.dev/api-reference/endpoints/spaces/remove-space-access): `DELETE /spaces/{spaceId}/access` with `email`; withdraws an invitation or removes access. - [Leave a space](https://docs.mymemory.dev/api-reference/endpoints/spaces/leave-space): `POST /spaces/{spaceId}/leave`; removes only your own access to a space shared with you (`400` if you own it). - [List tags](https://docs.mymemory.dev/api-reference/endpoints/tags/get-tags): `GET /tags`, each with its memory count. - [Rotate your API key](https://docs.mymemory.dev/api-reference/endpoints/account/rotate-key): `POST /user/key/rotate`. ## Guides - [Introduction](https://docs.mymemory.dev/introduction) - [Quickstart](https://docs.mymemory.dev/quickstart): create a space, add, search and ask in four calls. - [API introduction](https://docs.mymemory.dev/api-reference/introduction) - [Authentication](https://docs.mymemory.dev/api-reference/authentication) - [Memories](https://docs.mymemory.dev/essentials/memories) - [Spaces](https://docs.mymemory.dev/essentials/spaces) - [Metadata and tag filtering](https://docs.mymemory.dev/essentials/metadata-filtering) - [API keys](https://docs.mymemory.dev/essentials/api-keys) - [AI chat](https://docs.mymemory.dev/essentials/ai-chat) - [MCP servers for Claude, Cursor and other assistants](https://docs.mymemory.dev/mcp/introduction) - [Changelog](https://docs.mymemory.dev/changelog/2026) ## Product - [App](https://mymemory.dev) - [Pricing](https://mymemory.dev/pricing) - [MyMemory for Open Source](https://mymemory.dev/open-source): free Plus or Pro for open-source contributors - [Product overview for AI assistants](https://mymemory.dev/llms.txt)