Ingest context vault document
Adds workspace knowledge from extracted text, a public file URL, or a documentation/web URL.
Use content when your app already has clean text or Markdown. Use
uri with a file sourceType for public PDF, DOCX, Markdown, TXT, CSV,
or image URLs. Use sourceType: url for documentation sites and web
pages.
Authorizations
API key created from the MemContext dashboard. Keys are prefixed with mc_.
Body
200Extracted text/Markdown for v1 JSON ingestion. Required unless uri is provided.
250000pdf, markdown, text, docx, html, url, csv, png, jpg, jpeg, webp, tiff 200100Public documentation/web URL or public file URL. Set sourceType for file URLs such as pdf, docx, markdown, text, csv, or an image type.
Crawl linked subpages from a documentation/web URL. For docs sites with llms.txt, MemContext discovers canonical pages first and ingests only priority pages. Ignored for remote file URL ingestion.
Maximum priority pages to fetch from a discovered docs index such as llms.txt.
1 <= x <= 25Terms to prioritize when crawling subpages.
8100preference- User likes or dislikes (e.g. "prefers dark mode").fact- Objective information (e.g. "uses macOS").decision- Choices made (e.g. "chose the new billing provider").context- Background information (e.g. "working on e-commerce app").
preference, fact, decision, context 