Importing Data
The Ingestion feature lets you import existing documents and web pages directly into Memsolus. Submit a file or a URL, and Memsolus extracts the content, splits it into meaningful chunks, and stores each chunk as an individual memory — ready to search immediately after processing.
Ingestion requires the ingest.write permission on your API key and the Ingest feature enabled on your plan.
Supported Formats
| Format | Max file size |
|---|---|
| 20 MB | |
| DOCX | 20 MB |
| CSV | 10 MB |
| Markdown | 5 MB |
| JSON | 5 MB |
| Plain text (TXT) | 5 MB |
| HTML | 5 MB |
| URL (web page) | — |
How to Ingest a File
Submit the file
Use a multipart/form-data POST request to submit your file along with the target user and optional categories.
You receive a job ID in the response:
Poll for completion
The job is processed asynchronously. Poll the job status until it reaches COMPLETED or FAILED.
Search the ingested memories
Once status is COMPLETED, the created memories are searchable immediately.
How to Ingest a URL
Submit a public URL instead of a file. Memsolus fetches the page, extracts the text, and creates memories from the content.
Using the SDK
Job Status
| Status | What it means |
|---|---|
PENDING | Job received, waiting to start |
PROCESSING | Extracting and chunking content |
COMPLETED | All memories created and searchable |
FAILED | Could not process the file — check the error field for details |
A typical 20-page PDF completes in under 30 seconds.
Limits and Notes
- All memories created by an ingest job share the same
user_idandcategoriesyou specify - If the file is password-protected, encrypted, or corrupt, the job fails with a descriptive error message