Skip to main content
PUT
Update memory
Preview: account memory requires DARWIN_ACCOUNT_MEMORY_ENABLED. Manage your account in Darwin settings.

Authorizations

x-api-key
string
header
required

Pass your Darwin API key in the x-api-key header. You can also authenticate with Authorization: Bearer .

Body

application/json
memory
string
required
Maximum string length: 4000
userId
string

Application-scoped user ID. Required with application credentials; never grants access to a Darwin user account.

aiId
string

Account agent memory. Requires active membership; updates require owner/admin. Mutually exclusive with userId.

Response

Saved Markdown preferences. An empty value means cleared or not set.

memory
string
required
updatedAt
string<date-time> | null
required
Last modified on November 3, 2026