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?integer
Batch size for concurrent processing
Default
3Range
1 <= value <= 10memory_ids?|null
Response Body
application/json
application/json
curl -X POST "http://127.0.0.1:14242/memories/reindex?batch_size=3" \ -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"
}
]
}