Admin Panel
System status, diagnostics, and API documentation for the Biomedical Retrieval engine.
Engine: Python fallback
0 documents
searches
6 sessions
0
Documents Indexed
Total Searches
6
Active Sessions
Demo Loads
Admin Actions
API Call Statistics
| Endpoint | Calls |
|---|---|
/ |
5 |
/admin |
1 |
System Info
| Engine | python-fallback |
| Native Available | No |
| Server Port | 7741 |
| Started At | |
| Total Bytes Processed |
API Documentation & curl Examples
GET
/api/statusReturns system status, engine version, document count, and session stats.
curl http://localhost:7741/api/status
GET
/api/corpusList all indexed documents. Optional query params:
domain, evidence.curl http://localhost:7741/api/corpus curl "http://localhost:7741/api/corpus?domain=oncology" curl "http://localhost:7741/api/corpus?evidence=rct"
GET
/api/doc/<doc_id>Retrieve a single document by its ID.
curl http://localhost:7741/api/doc/1
POST
/api/indexIndex a new document. Send JSON with
title, abstract, and optional fields.curl -X POST http://localhost:7741/api/index \
-H "Content-Type: application/json" \
-d '{"title":"My Paper","abstract":"Study of...","domain":"oncology","evidence":"rct","authors":"Smith J","journal":"Nature","year":2024}'
POST
/searchSearch the corpus. Form-encoded or JSON with
query, optional max_results, domain, evidence, year_min, year_max.curl -X POST http://localhost:7741/search \ -d "query=BRCA1+breast+cancer&max_results=5" curl -X POST http://localhost:7741/search \ -d "query=COVID+vaccine&domain=infectious_disease&max_results=10"
POST
/load-demoLoad the built-in demo corpus of 20 biomedical abstracts.
curl -X POST http://localhost:7741/load-demo
POST
/api/resetReset the index, clearing all indexed documents and search history.
curl -X POST http://localhost:7741/api/reset
GET
/api/preset-queriesRetrieve the list of preset biomedical search queries.
curl http://localhost:7741/api/preset-queries
GET
/api/historyRetrieve global search history as JSON.
curl http://localhost:7741/api/history