memoryWebhookMode set to CHANGES_ONLY. Contains only the added and deleted memories from the latest update.
See the Memory Webhook guide for setup instructions.
Payload
Fields
| Field | Type | Description |
|---|---|---|
event | string | Always "memory.changed" |
data.userProfileId | string | The end-user’s profile identifier |
data.personaProfileId | string | The AI persona’s profile identifier |
data.added | array | Memories that were created or updated |
data.deleted | array | Memories that were removed |
Added Memory Object
Same structure as the memory object inmemory.updated.
| Field | Type | Description |
|---|---|---|
uniqueIdentifier | string | Machine-friendly key (e.g. user_has_a_dog_named_max) |
target | string | Who the memory is about: USER or PERSONA |
category | string | Content category (see categories) |
description | string | Brief English summary of the fact |
eventStartDate | string | null | ISO 8601 date (YYYY-MM-DD). Only for EVENT category |
eventEndDate | string | null | ISO 8601 date (YYYY-MM-DD). Only for EVENT category |
sourceText | string | The original message that produced this memory |
timestamp | string | ISO 8601 UTC timestamp when the memory was recorded |
tags | string[] | Up to 10 keywords summarizing the memory |
Deleted Memory Object
| Field | Type | Description |
|---|---|---|
uniqueIdentifier | string | The identifier of the memory that was removed |
reason | string | Explanation of why the memory was deleted |