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": "<string>",
  "tags": [
    "<string>"
  ],
  "visibility": "<string>"
}
'
{
  "id": "<string>",
  "category": "interesting",
  "content": "",
  "created_at": "2023-11-07T05:31:56Z",
  "edited": false,
  "manually_added": false,
  "reviewed": false,
  "scoring": "<string>",
  "tags": [
    "<string>"
  ],
  "updated_at": "2023-11-07T05:31:56Z",
  "user_review": true,
  "visibility": "private"
}

Authorizations

Authorization
string
header
required

Send Authorization: Bearer <omi_developer_api_key>.

Path Parameters

memory_id
string
required

Body

application/json
category
enum<string> | null

New category for the memory

Available options:
interesting,
system,
manual,
workflow,
core,
hobbies,
lifestyle,
interests,
habits,
work,
skills,
learnings,
other,
auto
content
string | null

New content for the memory

Required string length: 1 - 500
tags
string[] | null

New tags for the memory

visibility
string | null

New visibility: public or private

Response

Successful Response

id
string
required
category
enum<string>
default:interesting
Available options:
interesting,
system,
manual,
workflow,
core,
hobbies,
lifestyle,
interests,
habits,
work,
skills,
learnings,
other,
auto
content
string
default:""
created_at
string<date-time> | null
edited
boolean
default:false
manually_added
boolean
default:false
reviewed
boolean
default:false
scoring
string | null
tags
string[]
updated_at
string<date-time> | null
user_review
boolean | null
visibility
string | null
default:private