Skip to main content
PATCH
/
memory-blobs
/
{blobId}
Update Memory
curl --request PATCH \
  --url https://api.memoram.app/api/v1/memory-blobs/{blobId} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '{
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "memoryKey": "<string>",
  "content": "<string>",
  "title": "<string>",
  "summary": "<string>",
  "tags": [
    "<string>"
  ],
  "importance": 123,
  "confidence": 123,
  "source": "<string>"
}'
{
  "id": "<string>",
  "user_id": "3c90c3cc-0d44-4b50-8888-8dd25736052a",
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "source": "<string>",
  "title": "<string>",
  "summary": "<string>",
  "importance": 123,
  "confidence": 123,
  "tags": [
    "<string>"
  ],
  "tag_ids": [
    "<string>"
  ]
}
Update specific fields of an existing memory blob. Requires the user’s ID and Memory Key for verification and potential re-encryption. Only include fields in the request body that you wish to modify. Sending a tags array replaces the existing tags entirely.

Authorization

Requires Bearer token authentication using your Developer JWT.

Authorizations

Authorization
string
header
required

JWT token obtained via /auth/token endpoint.

Path Parameters

blobId
string
required

The unique ID of the memory blob to update.

Body

application/json

Only include fields you wish to update.

user_id
string<uuid>
required

User's unique ID (required for identification).

memoryKey
string
required

User's memory key (required for verification/encryption).

content
string

New memory content (plaintext or pre-encrypted).

title
string
summary
string
tags
string[]

Replaces existing tags entirely with this list.

importance
number
confidence
number
source
string

Response

Memory blob updated successfully.

Represents a memory blob as returned by Create/Update operations (content is not included).

id
string
user_id
string<uuid>
created_at
string<date-time>
updated_at
string<date-time>
source
string
title
string
summary
string
importance
number
confidence
number
tags
string[]
tag_ids
string[]
I