UpdateMemory
Updates a memory.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:UpdateMemory |
update |
*MemoryStore
|
None | None |
Request syntax
PUT /workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The name of the workspace. |
workspace-test |
| memoryStoreName |
string |
Yes |
The name of the memory store. |
test-memory-store |
| memoryId |
string |
Yes |
The memory ID. |
019ca1e5-7307-7d50-b943-5e628326a8ed |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
| body |
object |
No |
The request body. |
|
| metadata |
object |
No |
The metadata. |
{"sessionId":"test_session_001"} |
| text |
string |
No |
The updated text content of the memory. |
Likes to play tennis on weekends |
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| requestId |
string |
The ID of the request. |
3B311FD9-A60B-55E0-A896-A0C73********* |
Examples
Success response
JSON format
{
"requestId": "3B311FD9-A60B-55E0-A896-A0C73*********"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.