Integrations
File Integration
Upload and process documents to extract memories
POST
Upload documents to automatically extract and store memories from their content.
Request Parameters
file
required
Document file to process. Supported formats: PDF, DOCX, TXT, MD, HTML
string
Default category for extracted memories. One of:
identity, career, interests, relationships, health, finance, learning, travel, productivity, privatestring
default:"smart"
Extraction strategy. Options:
comprehensive, smart, highlights, summarynumber
default:"1000"
Maximum size of text chunks for processing (characters)
number
default:"200"
Overlap between chunks to maintain context
boolean
default:"true"
Whether to automatically categorize extracted memories
object
Additional metadata for the document
Response
string
Unique identifier for the file integration
string
Name of the uploaded file
number
Size of the uploaded file in bytes
string
Processing status:
uploaded, processing, completed, errorobject
Statistics about the extraction process
array
List of extracted memories (if processing is complete)
string
ISO 8601 timestamp when upload was initiated
string
ISO 8601 timestamp when processing completed
Extraction Modes
Comprehensive
Comprehensive
Extracts memories from all significant text passages, creating detailed memories for each section.
Smart
Smart
Uses AI to identify the most important passages and concepts, creating focused memories.
Highlights
Highlights
Extracts only key insights, findings, and actionable information.
Summary
Summary
Creates a single comprehensive memory summarizing the entire document.
Supported File Types
PDF
- Text extraction from standard PDFs
- OCR for scanned documents
- Preserves page structure and formatting
Word Documents (DOCX)
Word Documents (DOCX)
- Full text extraction
- Maintains document structure
- Extracts embedded content
Text Files (TXT, MD)
Text Files (TXT, MD)
- Direct text processing
- Markdown formatting recognition
- Fast processing
Web Pages (HTML)
Web Pages (HTML)
- Content extraction from HTML
- Removes navigation and ads
- Focuses on main content
Error Responses
object
Invalid file or parameters
object
File too large

