PATCH
/
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.update('id', {
  content: 'This is a detailed article about machine learning concepts...',
});

console.log(memory.id);
{
  "id": "<string>",
  "status": "<string>"
}

Authorizations

Authorization
string
header
required

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

Path Parameters

id
string
required

Body

application/json

Response

200
application/json

Memory updated successfully

The response is of type object.