Memory
Update Memory Block
Create or replace a memory block with compare-and-set protection
PUT
Update Memory Block
Path Parameters
| Parameter | Type | Description |
|---|---|---|
block_type | core, archival | Memory block to update |
Query Parameters
| Parameter | Type | Description |
|---|---|---|
scope | user, agent | Defaults to user |
agent_id | string | Required when scope=agent |
Request Body
expected_updated_at is required. Send the last-read updated_at value when replacing an existing block. Send null only when creating a block that should not already exist. Concurrent edits return 409 Conflict.
Response
Update Memory Block

