Add multiple memories
Adds multiple documents to the index in a single request.
All items are validated before any database operations occur. If any item fails validation, the entire batch is rejected with a 422 error detailing which items failed and why.
Maximum 100 items per request. Each item follows the same schema as the single-item /memories/add endpoint.
Authorizations
API Key or JWT User Token. If using an API Key, set the X-As-User header to act as a specific user. A JWT User Token is always scoped to a specific user.
Body
Request schema for bulk memory ingestion.
List of memories to ingest. Maximum 100 items.
1 - 100 elementsResponse
Successful Response
Response schema for successful bulk ingestion.
Number of items successfully processed
Status of each ingested item
Items not ingested because their resource_id is already owned by another user on this app. Empty in the common case; a non-empty list is a partial success, not an error.