Batch Update
API Reference
Batch Update
PATCH /v1/memories/batch — Update multiple memories in a single request.
PATCH
Batch Update
This endpoint requires an x402 payment header.
id and at least one field to change. If content is changed on any memory, its embedding is regenerated.
Request Body
Array of update objects. Min 1, max 100. Each must include
id plus at least one field to change.Response (200)
Number of memories successfully updated.
Array of error objects for memories that failed to update.
Example
Response
Errors
| Status | Description |
|---|---|
| 404 | Memory not found (skipped, reported in errors). |
| 409 | Memory is immutable (skipped, reported in errors). |
| 422 | Invalid request body or field validation failed. |