Skip to main content
PATCH
Batch Update
This endpoint requires an x402 payment header.
Price: $0.005 USDC Update multiple memories at once. Each update object must include the memory id and at least one field to change. If content is changed on any memory, its embedding is regenerated.

Request Body

array
required
Array of update objects. Min 1, max 100. Each must include id plus at least one field to change.
Immutable memories in the batch are skipped and returned in the errors array with a 409 status. The rest of the batch still processes.

Response (200)

number
Number of memories successfully updated.
array
Array of error objects for memories that failed to update.

Example

Response

Errors