datasets
Search Medical Papers
Search medical and biomedical papers with a natural-language question. Federates PubMed, PMC full-text, ClinicalTrials.gov, and Semantic Scholar, then synthesizes a cited answer.
Implementation: invokes the medical-agent Lambda (TypeScript, Mastra, Claude Sonnet). Streaming responses flow through the captain-stream S2 basin — identical pattern to /v2/collections/{name}/query.
post/v2/datasets/scientific/medical/ask
Request body
Response
Synthesized answer with cited sources. Returns JSON by default; when stream=true the response is text/event-stream with tool.start, tool.end, text.delta, and run.end events.
Changes
No recorded changes to this endpoint across all 1 revision of this API.