GetMemory
Retrieves a single memory.
Try it now
Test
RAM authorization
|
Action |
Access level |
Resource type |
Condition key |
Dependent action |
|
cms:GetMemory |
get |
*MemoryStore
|
None | None |
Request syntax
GET /workspace/{workspace}/memorystore/{memoryStoreName}/memory/{memoryId} HTTP/1.1
Path Parameters
|
Parameter |
Type |
Required |
Description |
Example |
| workspace |
string |
Yes |
The workspace name. |
default-cms-1793369865235921-cn-shenzhen |
| memoryStoreName |
string |
Yes |
The memory store name. |
test-memory-store |
| memoryId |
string |
Yes |
The memory ID. |
019ca1e5-7307-7d50-b943-5e628326a8ed |
Request parameters
|
Parameter |
Type |
Required |
Description |
Example |
No parameters required.
Response elements
|
Element |
Type |
Description |
Example |
|
object |
The response data. |
||
| immutable |
string |
The immutable properties. |
test |
| owner |
string |
The memory owner. |
test |
| updatedAt |
string |
The update time. |
1744428159434 |
| organization |
string |
The organization. |
test |
| memory |
string |
The memory. |
My name is Zhang San and I live in Hangzhou. |
| metadata |
string |
The metadata. |
{"sessionId":"test_session_001"} |
| id |
string |
The memory ID. |
019ca1e5-7307-7d50-b943-5e628326a8ed |
| expirationDate |
string |
The expiration date. |
1751595283143 |
| createdAt |
string |
The creation time. |
1751595283143 |
| requestId |
string |
The request ID. |
8FDE2569-626B-5176-9844-28877A***** |
| userId |
string |
The user ID. |
test_user_001 |
| agentId |
string |
The agent ID of the application. |
test_user_001 |
| runId |
string |
The run ID. |
test_user_001 |
| appId |
string |
The application ID. |
test_user_001 |
Examples
Success response
JSON format
{
"immutable": "test",
"owner": "test",
"updatedAt": "1744428159434",
"organization": "test",
"memory": "My name is Zhang San and I live in Hangzhou.",
"metadata": "{\"sessionId\":\"test_session_001\"}",
"id": "019ca1e5-7307-7d50-b943-5e628326a8ed",
"expirationDate": "1751595283143",
"createdAt": "1751595283143",
"requestId": "8FDE2569-626B-5176-9844-28877A*****",
"userId": "test_user_001",
"agentId": "test_user_001",
"runId": "test_user_001",
"appId": "test_user_001"
}
Error codes
See Error Codes for a complete list.
Release notes
See Release Notes for a complete list.