Skip to main content
PATCH
Update a memory

Authorizations

Authorization
string
header
required

A workspace API key (oc_…) or organization API key (oc_org_…). Workspace-scoped endpoints called with an organization key also need X-Workspace-Id.

Path Parameters

agentId
string
required
memoryId
string
required

Body

application/json
title
string | null
description
string | null
content
string
Maximum string length: 100000

Response

Updated

One memory without its content (the index projection).

id
string
agentId
string
key
string

The agent's own handle for the memory and its file name (memory/<key>.md). Immutable.

title
string | null
description
string | null
lastRevisionSeq
integer
createdAt
string<date-time>
updatedAt
string<date-time>
content
string