Upload and ingest context vault document
Context Vault
Upload and ingest context vault document
Uploads a local file and adds it to Context Vault. Supports PDFs, Markdown, TXT, DOCX, CSV, and image files. OCR is available for formats that need text extraction.
POST
Upload and ingest context vault document
Authorizations
API key created from the MemContext dashboard. Keys are prefixed with mc_, bound to one workspace, and API-key requests cannot override that workspace.
Body
multipart/form-data
Optional vault inside the workspace. Defaults to the workspace's default vault.
Available options:
pdf, markdown, text, docx, html, url, csv, png, jpg, jpeg, webp, tiff Optional extracted text override for binary files.
