Reindex Memories Bulk
Reindex multiple memories or all memories needing reindex.
This endpoint can work for both single and bulk reindexing:
- If memory_ids is provided: reindex those specific memories
- If memory_ids is None/empty: reindex all memories with reindex_needed=True
Query Parameters
batch_size?Batch Size
Batch size for concurrent processing
Request Body
application/json
TypeScript Definitions
Use the request body type in TypeScript.
Response Body
application/json
application/json
curl -X POST "https://example.com/memories/reindex" \ -H "Content-Type: application/json" \ -d '{}'{ "success": true, "processed": 0, "failed": 0, "error": "string", "details": [ { "memory_id": "string", "status": "string", "error": "string", "reason": "string", "embedding_dimension": 0 } ]}{ "detail": [ { "loc": [ "string" ], "msg": "string", "type": "string", "input": null, "ctx": {} } ]}