MemoryKit

Reprocess Memory

Re-chunk and re-index a memory from its existing content.

POST/v1/memories/{memory_id}/reprocess

Path parameters

memory_idUUIDrequired

The memory ID.

When to use

Reprocessing is useful when:

  • Chunking or embedding settings have changed on the server
  • You want to regenerate knowledge graph data
  • The original processing failed and you want to retry

Reprocessing deletes existing chunks and graph data, then re-processes the memory's stored content from scratch.

Response

Returns 202 Accepted. The memory status changes to "processing".

Example response
{
  "id": "mem_abc123",
  "status": "processing",
  "title": "Q4 Planning Notes",
  "chunks_count": null,
  "updated_at": "2025-01-15T14:00:00Z"
}
const memory = await mk.memories.reprocess("mem_abc123");
// Poll for completion
Edit on GitHub

On this page