DID THIS ARTICLE SOLVE YOUR ISSUE?
Let us know so we can improve!
Let us know so we can improve!
Update the content of one or more existing memory entries. Identify each entry by its memory ID.
URI: /api/v1/agentic/memory
Format: application/json
HTTP Method: POST
Authentication: Bearer JWT
| Parameter | Type | Required | Description |
|---|---|---|---|
| profile_id | String | Yes | Profile ID of the Individual or User. |
| profile_type | String | Yes | Type of profile. Values: individual, employee. |
| category | String | Yes | Partition key for the memory entries, such as PROFILE_FACT. |
| Header | Required | Description |
|---|---|---|
| Authorization | Yes | Bearer JWT token. |
| Content-Type | Yes | application/json. |
| Field | Type | Required | Description |
|---|---|---|---|
| memories | Array | Yes | Memory entries to update. Minimum one entry. |
| memories[].memoryId | String | Yes | Identifier of the memory entry to update. |
| memories[].content | String | Yes | New memory content. |
1{
2 "memories": [{ "memoryId": "mem_abc123", "content": "Prefers PST scheduling" }]
3}| Field | Type | Description |
|---|---|---|
| statusCode | String | Operation status. Value: updated. |
| memories | Array | The updated memory entries. |
| memories[].memoryId | String | Identifier of the memory entry. |
| memories[].content | String | Updated memory content. |
Status: 200 OK
1{
2 "statusCode": "updated",
3 "memories": [{ "memoryId": "mem_abc123", "content": "Prefers PST scheduling" }]
4}| Status Code | Description |
|---|---|
| 400 | Bad Request. Invalid request format or missing required fields. |
| 401 | Unauthorized. Invalid or missing JWT token. |
| 404 | Not Found. The specified memory entry doesn’t exist. |
| 500 | Internal Server Error. |