{"service":"CCAS Research API","version":"4.3.0","mode":"Full Cloud - No local daemons required","endpoints":{"/search":"POST - Semantic search with multi-layer filtering","/similar":"POST - Find papers similar to a given paper","/papers":"GET - List papers from R2","/embed":"POST - Index papers with auto-scoring, dedupe, and D1 sync","/stats":"GET - Vectorize and R2 statistics","/stats/domains":"GET - Papers grouped by domain","/stats/d1":"GET - D1 state database statistics","/reconcile":"POST - Backfill D1 from Vectorize (run once)","/dedupe":"POST - Find and remove duplicate vectors","/delete":"POST - Delete vectors by ID","/rescore":"POST - Re-score papers with updated algorithm","/score":"POST - Test scoring algorithm","/state":"GET/POST - Orchestrator state (KV storage)","/state/iterations":"GET - Iteration history","/daemon/status":"GET - System health and cron status","/ask":"POST - AI synthesis: answers clinical questions with citations (auth required)","/trigger/:job":"POST - Manual trigger (crawl, international, deep, checkpoint, comprehensive, trials, migrate-content)"},"domains":["PFAC_PSYCHIATRIC","VERMIS_AFFECT","CCAS_CORE","CASE_REPORT","NEUROIMAGING","CEREBELLAR_MOOD","SURGICAL_OUTCOMES","REVIEW","TREATMENT_RESISTANCE","AUTONOMIC","GENERAL","CLINICAL_TRIAL","TRD_CORE","TRD_INTERVENTION","TRD_BIOMARKER","PTSD_CORE","PTSD_CEREBELLAR"],"filterExample":{"query":"cerebellar cognitive symptoms","domain":"PFAC_PSYCHIATRIC","excludeDomains":["GENERAL","REVIEW"],"minRelevance":30,"maxRelevance":100,"topK":20}}