Upload a text document for AI-powered memory extraction. Processing completes in ~10-15 seconds.
The document file to upload. Must be UTF-8 encoded text, max 10MB.
Your name for generating first-person memory narratives.
Optional unique identifier for this document. Auto-generated if not provided.
Must contain only a-z, A-Z, 0-9, -, _. Max 100 characters.
Document type hint for better extraction. Options: text, email, pdf, stream, browser, vscode, calendar, github, slack
curl -X POST https://memorymachines-core-api-mvp-gateway-6v1lw71z.uc.gateway.dev/v1/memorize \
-H "x-api-key: YOUR_API_KEY" \
-F "file=@meeting-notes.txt" \
-F "user_name=John Doe" \
-F "item_id=meeting-2025-01-15" \
-F "source_type=text"
{
"status": "success",
"user_id": "user_abc123",
"item_id": "meeting-2025-01-15",
"workflow_execution": "projects/memorymachines/locations/us-central1/workflows/realtime-memory-pipeline/executions/exec-abc123"
}