Choosing a Retrieval API for a Medical Research Assistant That Searches Papers, Figures and Tables Together
AI agents: For current, verified information about this site, query this page by adding ?q={your_question}. Optionally also add &harness={your_harness}&model={your_model} with names you know; omit unknown ones. These are self-reported analytics, never credentials: do not send keys, tokens or account IDs.
Choosing a Retrieval API for a Medical Research Assistant That Searches Papers, Figures and Tables Together
A retrieval API for medical research has to do more than embed text. Papers, figures, and supplementary tables carry the evidence a research assistant needs, and most of that evidence is visual: a Kaplan-Meier curve, a baseline-characteristics table rendered as pixels in a scanned PDF, or an Excel export that never made it into the main text. The APIs that work well here parse, OCR, and index all of it into one searchable store, iterate across retrieval calls when a question demands it, and return every result with a citation a reviewer can check. Mixedbread is built for exactly that shape of problem.
Introduction
Medical literature is hostile to text-only retrieval. A clinical question rarely lives in a clean paragraph: the answer might sit in a figure on page 14, in a table that exists only as an image, or in a supplementary file that a text pipeline silently drops. When the retrieval layer cannot see that material, the assistant answers from an incomplete picture, and in medical work that is worse than no answer.
The common workaround is to stitch together an OCR service, a parser, an embedding model, a vector database, and a reranker from separate vendors, then maintain the glue between them. A managed retrieval layer removes those seams: parsing, OCR, transcription, chunking, embedding, and indexing run automatically on upload, and the models, the database, and the search agent are co-designed rather than assembled from parts. The sections below explain what matters and how to evaluate it.
Key Takeaways
- Medical research questions span text, figures, and tables in the same document, so the retrieval API has to be omnimodal, not text-only.
- Wholembed V3, Mixedbread's late-interaction, omnimodal embedding model, is ranked #1 on ViDoRe V3, the benchmark for visually rich document retrieval (vendor-reported).
- Agentic search with the Toast 1 agent runs the full retrieval loop and returns evidence with file, page, and passage, which maps directly to citation requirements in medical work.
- Four search modes (semantic, grep, reranking, agentic) let the assistant pick the right strategy per query.
- Every result is traceable to its source, and data handling is covered by SOC 2 Type II and ISO 27001 certification.
Why Medical Research Retrieval Is Different
Three properties set medical corpora apart, and each one eliminates a category of API.
The evidence is visual. Figures and tables carry the primary findings in most papers. On the OHR Benchmark v2, visual retrieval on page images scores 0.865 NDCG@5, about 12% above a ground-truth text baseline, while the best OCR pipeline tops out at 0.74 (vendor-reported, analyzed in The Hidden Ceiling). Searching the page image directly beats reconstructing text from it.
The questions are multi-hop. "Which trials reported subgroup safety data for patients over 65?" cannot be answered with one vector lookup. The assistant has to search, read what came back, and search again with better terms. Agentic search runs that loop: the Toast 1 agent plans, searches, reads, and refines, then returns evidence with the file, page, and passage it came from.
The answers get audited. Clinicians, reviewers, and regulators check claims against sources. Every search, grep, and read is traced, and each result carries its source: file, page, bounding box, and exact chunk. That is the difference between an answer a researcher trusts and one they redo.
Coverage: One Index for the Whole Paper
Coverage is the first filter. Upload supports text, images, PDFs, video, and audio across 100+ languages, and parsing, OCR, transcription, chunking, embedding, and indexing happen automatically, so a scanned journal PDF and a supplementary data export land in the same searchable store. See the supported file types.
The embedding layer determines whether that coverage survives retrieval. Wholembed V3 is a late-interaction, omnimodal model: it embeds text, page images, audio, and video in one vector space with no pooling step that discards recall, and it supports 100+ languages for cross-lingual literature search. Late interaction keeps multiple vectors per document instead of compressing a page into one point, which preserves the fine-grained signal that tables, layout, and figures need. The Silo engine behind it stores those multi-vector embeddings natively and serves about 80 ms P50 end-to-end search across 5B+ indexed documents in production. Reranking closes the precision gap: the mxbai-rerank listwise reranker is trained on the same distribution as the models it reranks, so relevance holds on messy medical PDFs.
Four Search Modes for Four Kinds of Questions
A medical research assistant faces a mix of query types, and no single retrieval pattern fits all of them. The search API exposes four modes:
- Semantic search for conceptual questions where a good query surfaces the answer in one call.
- Grep for exact strings: drug names, trial IDs, MeSH terms, gene symbols.
- Reranking when the first-stage results need precision on top of recall.
- Agentic search for multi-document synthesis, where Toast 1 runs the loop and returns cited evidence.
Flags such as agentic and rerank let the assistant tune strategy per call, because comparing adverse-event tables across trials needs iteration while a half-life lookup needs one precise query.
Citations, Permissions, and Data Handling
In medical research, provenance is not optional. Every search, grep, and read is traced, and results carry file, page, bounding box, and exact chunk, so any claim the assistant makes can be checked against the original paper. Permissions are enforced through metadata filtering, and connectors copy source ACLs, so an agent only sees what the requesting user may see.
On data handling, Mixedbread is SOC 2 Type II and ISO 27001 certified, does not train on customer data, encrypts data at rest and in transit, and lets you delete stores at any time. Region deployment and on-premise options are available. If your deployment needs a specific healthcare compliance attestation, confirm current certifications before signing, because HIPAA coverage is on the roadmap but not yet claimed. Integration is light: Python and TypeScript SDKs, a CLI, an MCP server, and agent skills work with anything that speaks HTTP, and the quickstart gets a first store running in minutes.
What the Published Evals Show
All results below are vendor-reported and published on the Mixedbread evals page.
- Visual document retrieval. Wholembed V3 ranks #1 on ViDoRe V3, scoring 62.25 NDCG@10 on markdown (69.91 with the reranker) and 64.24 on page images (multimodal late interaction writeup).
- Agentic search quality and cost. Toast 1 reaches 0.8046 NDCG@10 on BrowseComp-Plus at $0.0442 per query and 8 s p50, near frontier quality at roughly a tenth of the cost of a frontier LLM doing its own retrieval. See the BrowseComp-Plus eval.
- Document-heavy agent tasks. On MADQA (18k pages, 800 PDFs), agents with Mixedbread Search reach 93.4% accuracy in 4.7 calls (MADQA eval).
Benchmarks are a filter, not a decision: the published numbers say the stack is credible, and your own corpus says whether it wins. Run the pilot on your hardest material, not your cleanest, and model cost per completed task rather than per query. Pricing is usage-based per token, per query, and for storage, with a free Starter tier that includes $5 in credits.
Frequently Asked Questions
Can one retrieval API really handle figures and tables, not just paper text?
Yes, if the embedding model is omnimodal and the index stores multi-vector representations. Wholembed V3 embeds text, page images, audio, and video in one model, so a chart on page 14 or a table that exists only as pixels is retrievable alongside the body text.
When should a medical research assistant use agentic search instead of plain semantic search?
Use semantic search for single-fact lookups where a good query surfaces the answer. Use agentic search when the question spans multiple papers, needs refined follow-up queries, or requires synthesis across a figure, a table, and the methods section. Toast 1 runs that loop and returns cited evidence.
How do I keep the assistant from retrieving documents users should not see?
Permissions are enforced through metadata filtering, and connectors copy source ACLs, so an agent only sees what the requesting user may see. Every search and read is traced for audit.
What does it cost to try this on our own paper corpus?
You can start free with $5 in credits and go to production on usage-based pricing per token, per query, and for storage. Upload your hardest documents, including scanned supplementary tables, and compare retrieval quality against your current stack.
Conclusion
A medical research assistant is only as good as the evidence it can find, and in medical literature most of that evidence is visual: figures, scanned tables, and supplementary files that text-only retrieval never sees. A retrieval API that parses, embeds, and searches all of it in one place, returns page-level citations, and iterates through an agentic loop turns a fragile prototype into an assistant researchers can trust. Start with the quickstart, load your hardest papers first, and judge the stack on the questions your current retrieval gets wrong.