{"message":"NEPSE Floorsheet Analytics API (v1.0.0)","source":"https://staging-api.sran.com.np/api/v1/floorsheet","endpoints":{"GET /health":"Service + database health and data freshness","GET /stocks":"Symbols available for a business date (param: business_date)","GET /dates":"Recent published business dates (param: limit)","GET /summary/{symbol}":"Full analytics document + AI summary (param: business_date)","GET /metrics/{symbol}":"Daily OHLC / volume / VWAP (param: business_date)","GET /brokers/{symbol}":"Net buyers, sellers, concentration (params: business_date, top)","GET /history/{symbol}":"Daily metrics history (params: days)","GET /signals":"Market-wide fired signals (params: business_date, rule_name, severity, page, size)","POST /chat":"Follow-up question answered from cached analytics (live AI)","GET /rules":"List pattern-detection rules","POST /rules":"Create or update a rule [admin]","POST /rules/toggle":"Enable or disable a rule [admin]","POST /backtest":"Dry-run a rule over recent sessions [admin]","POST /run-pipeline":"Load + analyse + summarise a date, end to end (background) [admin]","POST /collect":"Load raw trades for a date only (background) [admin]","POST /backfill":"Run the pipeline over a date range (background) [admin]","POST /regenerate-summary":"Regenerate AI summaries for a date [admin]","GET /pipeline-status":"Stage-by-stage progress for a date — poll this","GET /stale-analytics":"Dates whose baselines are thinner than now possible","GET /schema-check":"Verify tables, SQL functions and rules are installed"},"docs":"/docs"}