List memories
Retrieves a paginated list of memories with their metadata and workflow status
POST
/
v3
/
memories
/
list
Copy
Ask AI
import Supermemory from 'supermemory';
const client = new Supermemory({
apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});
const memories = await client.memories.list();
console.log(memories.memories);
Copy
Ask AI
{
"memories": [
{
"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",
"containerTags": [
"user_123",
"project_123"
],
"type": "text",
"connectionId": "conn_123"
}
],
"pagination": {
"currentPage": 1,
"totalPages": 10,
"limit": 10,
"totalItems": 100
}
}
Authorizations
Bearer authentication header of the form Bearer <token>
, where <token>
is your auth token.
Body
application/json
Query parameters for listing memories
Response
200
application/json
Successfully retrieved memories
List of memories
Was this page helpful?
Copy
Ask AI
import Supermemory from 'supermemory';
const client = new Supermemory({
apiKey: process.env['SUPERMEMORY_API_KEY'], // This is the default and can be omitted
});
const memories = await client.memories.list();
console.log(memories.memories);
Copy
Ask AI
{
"memories": [
{
"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",
"containerTags": [
"user_123",
"project_123"
],
"type": "text",
"connectionId": "conn_123"
}
],
"pagination": {
"currentPage": 1,
"totalPages": 10,
"limit": 10,
"totalItems": 100
}
}
Assistant
Responses are generated using AI and may contain mistakes.