Developer API

Build on BioFoundry

Five JSON endpoints. One auth header. Plug any catalog model into your pipeline in minutes. Interactive schema at /docs.

SYNTHETIC DEMOAll outputs are deterministic demo data — not for clinical use, not real medical inference.

Endpoints

MethodPathDescription
GET/api/modelsFull catalog — filters: ?domain= &modality= &q=
GET/api/models/{id}Single model card JSON
POST/api/diagnose{model_ids:[...], scan_meta:{...}} → synthetic ensemble
POST/api/ask{query:"..."} → synthesized cited answer
GET/healthLiveness probe

Quick start

curl -s {BASE}/api/models?domain=Cancer%20Detection | jq '.[0]'

curl -s -X POST {BASE}/api/ask \
  -H 'content-type: application/json' \
  -d '{"query":"What models predict EGFR drug targets?"}'