Request Parameters
Document file to process. Supported formats: PDF, DOCX, TXT, MD, HTML
Default category for extracted memories. One of:
identity
, career
, interests
, relationships
, health
, finance
, learning
, travel
, productivity
, private
Extraction strategy. Options:
comprehensive
, smart
, highlights
, summary
Maximum size of text chunks for processing (characters)
Overlap between chunks to maintain context
Whether to automatically categorize extracted memories
Additional metadata for the document
Response
Unique identifier for the file integration
Name of the uploaded file
Size of the uploaded file in bytes
Processing status:
uploaded
, processing
, completed
, error
Statistics about the extraction process
List of extracted memories (if processing is complete)
ISO 8601 timestamp when upload was initiated
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
Invalid file or parameters
File too large