Get a memory

Fetch a single memory by ID.

GET/api/v1/memories/{memory_id}

API Key

Stored locally, never sent to servers

Get a memory
const options = {  method: 'GET',  headers: {'X-API-Key': 'mb_live_xxx'},};fetch('https://api.mem-brain.io/api/v1/memories/{memory_id}', options)  .then(res => res.json())  .then(res => console.log(res))  .catch(err => console.error(err));
{
"id": "mem_xyz789",
"content": "User prefers dark mode",
"category": "user-prefs",
"tags": [
"type.preference"
]
}