Working with Memories
Store, manage, and retrieve memories — the core storage unit in MemoryKit.
Memories are the core unit of knowledge in MemoryKit. Each memory holds content that is automatically chunked, embedded, and indexed for retrieval. Smart Ingestion extracts title, tags, language, and content type — so you can send raw text and let MemoryKit do the rest.
Lifecycle
Ingest
Send text or upload a file. Returns 202 Accepted — processing is async.
Processing
Content is chunked, embedded with vectors, indexed for full-text search, and optionally connected in a knowledge graph.
Ready
Status becomes completed. The memory is now searchable and queryable.
Statuses: processing → completed or failed. Use webhooks or polling to know when a memory is ready.
Create from text
Upload a file
Upload PDF, DOCX, XLSX, PPTX, TXT, CSV, Markdown, HTML, or JSON. Max file size: 100 MB.
Supported file types
| Format | MIME Type |
|---|---|
application/pdf | |
| Word (.docx) | application/vnd.openxmlformats-officedocument.wordprocessingml.document |
| Excel (.xlsx) | application/vnd.openxmlformats-officedocument.spreadsheetml.sheet |
| PowerPoint (.pptx) | application/vnd.openxmlformats-officedocument.presentationml.presentation |
| Plain text | text/plain |
| CSV | text/csv |
| Markdown | text/markdown |
| HTML | text/html |
| JSON | application/json |
Batch ingest
Ingest up to 100 memories in a single request. Great for bulk imports.
Polling for status
After creating a memory, poll until processing completes — or use webhooks for push notifications.
For production, use webhooks instead of polling. Subscribe to memory.completed and memory.failed events.
List and paginate
Cursor-based pagination. Filter by status, type, or user.
Update and reprocess
Update metadata, or change content and trigger reprocessing.
Delete
Soft-deletes the memory and all associated chunks.