Skip to main content
PATCH
/
v1
/
dev
/
user
/
memories
/
{memory_id}
Update memory
curl --request PATCH \
  --url https://api.omi.me/v1/dev/user/memories/{memory_id} \
  --header 'Authorization: Bearer <token>' \
  --header 'Content-Type: application/json' \
  --data '
{
  "content": "User strongly prefers dark mode in all applications",
  "visibility": "private"
}
'
{
  "id": "<string>",
  "content": "<string>",
  "category": "interesting",
  "visibility": "public",
  "tags": [
    "<string>"
  ],
  "created_at": "2023-11-07T05:31:56Z",
  "updated_at": "2023-11-07T05:31:56Z",
  "manually_added": true,
  "reviewed": true,
  "user_review": true,
  "edited": true
}

Authorizations

Authorization
string
header
required

Developer API key. Get one from Settings → Developer → Create Key in the Omi app. Keys are prefixed with omi_dev_.

Path Parameters

memory_id
string
required

The ID of the memory to update.

Body

application/json
content
string

New memory content.

Required string length: 1 - 500
visibility
enum<string>

New visibility level.

Available options:
public,
private

Response

The updated memory.

id
string

Unique identifier.

content
string

The memory content.

category
enum<string>

Memory category.

Available options:
interesting,
system,
manual
visibility
enum<string>

Visibility level.

Available options:
public,
private
tags
string[]

List of tags.

created_at
string<date-time>

When the memory was created.

updated_at
string<date-time>

When the memory was last updated.

manually_added
boolean

Whether the memory was added manually (via API or app).

reviewed
boolean

Whether the memory has been reviewed.

user_review
boolean | null

User's review decision.

edited
boolean

Whether the memory has been edited.