GET
/
v3
/
memories
/
{id}
import Supermemory from 'supermemory';

const client = new Supermemory({
  apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});

const memory = await client.memories.get('id');

console.log(memory.id);
{
  "id": "acxV5LHMEsG2hMSNb4umbn",
  "customId": "mem_abc123",
  "title": "Introduction to Machine Learning",
  "summary": "A comprehensive guide to understanding the basics of machine learning and its applications.",
  "metadata": {
    "source": "web",
    "category": "technology",
    "tag_1": "ai",
    "tag_2": "machine-learning",
    "readingTime": 5,
    "isPublic": true
  },
  "createdAt": "1970-01-01T00:00:00.000Z",
  "updatedAt": "1970-01-01T00:00:00.000Z",
  "status": "done",
  "url": "https://example.com/article",
  "content": "This is a detailed article about machine learning concepts...",
  "type": "text",
  "source": "web",
  "ogImage": "https://example.com/image.jpg",
  "raw": "This is a detailed article about machine learning concepts...",
  "containerTags": [
    "user_123",
    "project_123"
  ],
  "connectionId": "conn_123",
  "tokenCount": 1000
}

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Response

200
application/json

Successfully retrieved memory

Memory object