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.
stream=true returns text/event-stream with tool_use, tool_result_summary,
text_delta, and done event types.
Authentication
AuthorizationBearer
Bearer token authentication using API key
Headers
X-Organization-ID
Request
This endpoint expects an object.
question
Natural-language question.
max_sources
Target number of cited sources in the final answer.
include_trials
Whether the agent may call ClinicalTrials.gov.
recency_years
Prefer evidence within the last N years where the question allows.
stream
If true, response is text/event-stream; otherwise JSON.
Response
Synthesized answer with cited sources. Returns JSON by default; when stream=true the response is text/event-stream with tool_use, tool_result_summary, text_delta, and done events.
domain
The scientific domain, e.g. 'medical'.
answer
Synthesized answer with inline citations.
sources
gaps
Things the agent could not find or verify.
tool_calls
Number of tool calls the agent made.
latency_ms
End-to-end wall-clock latency.
Errors
400
Bad Request Error
401
Unauthorized Error
403
Forbidden Error
422
Unprocessable Entity Error