Developer Portal
cURL Examples
A single-endpoint prediction and a full integrated assessment, matching the current deployed API contract exactly (field names verified against the backend source, not guessed).
# Health check
curl https://api.bionexusdiscovery.com/health
# Single-endpoint prediction
curl -X POST https://api.bionexusdiscovery.com/predict \
-H "Content-Type: application/json" \
-d '{"smiles": "CC(=O)Nc1ccc(O)cc1", "endpoint": "hepatotox"}'
# Full integrated assessment (all 7 endpoints + SHAP)
curl -X POST https://api.bionexusdiscovery.com/predict/integrated \
-H "Content-Type: application/json" \
-d '{"smiles": "CC(=O)Nc1ccc(O)cc1", "include_interpretation": true, "top_k": 8}'