Skip to main content
PUT
/
api
/
v1
/
memories
/
{memory_id}
{
  "memory_id": "<string>",
  "message": "<string>",
  "memory": {
    "memory_id": "<string>",
    "user_id": "<string>",
    "memory": "<string>",
    "topics": [
      "<string>"
    ],
    "created_at": "2023-11-07T05:31:56Z",
    "updated_at": "2023-11-07T05:31:56Z",
    "metadata": {}
  }
}

Authorizations

Authorization
string
header
required

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

Headers

X-Workspace-Id
string | null

The workspace ID

Path Parameters

memory_id
string
required

Body

application/json

Schema for updating an existing memory.

user_id
string | null

The user ID who owns the memory.

memory
string | null

Updated memory content.

topics
string[] | null

Updated topics for the memory.

metadata
object | null

Updated metadata for the memory.

Response

Successful Response

Schema for memory update response.

memory_id
string
required

ID of the updated memory.

message
string
required

Success message.

memory
object
required

The updated memory details.