Memories · Bulk write
POST /api/v1/memories/bulk — write many memories in one request.
Embedding defers by default on this path. Items written without a vector come
back with metadata.embedding_pending: true, and until it clears they are
reachable by keyword and by the non-semantic list, but do not compete on
semantic similarity — so a paraphrase search can miss a memory an exact-words
search finds.
Authorization
APIKeyHeader In: header
Header Parameters
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
application/json
application/json
application/json
curl -X POST "https://example.com/api/v1/memories/bulk" \ -H "Content-Type: application/json" \ -d '{ "items": [ { "content": "string" } ] }'{ "created": 0, "duplicates": 0, "errors": 0, "results": [ { "index": 0, "client_request_id": "string", "status": "created", "id": "497f6eca-6276-4993-bfeb-53cbbbba6f08", "duplicate_of": "15a4136f-d85d-4645-ade9-a6c6085b348c", "error": "string" } ], "bulk_ms": 0}