{"name":"IOST Terminal","version":"1.7.0","machineReadable":true,"api":"/api","index":"/api","meta":"/api/meta","uiState":"/api/ui-state","auth":"/api/auth","contracts":{"name":"IOST Terminal Agent API","version":"1.7.0","auth":"Optional X-API-Key header. Keys via AGENT_KEYS env (default: demo-agent-key). Sensitive routes also accept a browser session (/api/auth/*).","discover":[{"path":"/.well-known/agent.json","method":"GET","purpose":"agent discovery manifest"}],"market":[{"path":"/api/scanner","method":"GET","purpose":"real-time analysis for all watchlist assets (signals, indicators, whale tape)"},{"path":"/api/analyze/:symbol","method":"GET","purpose":"full analysis for one symbol"},{"path":"/api/klines/:symbol","method":"GET","query":"bar=15m|1h|1d&limit=N","purpose":"ohlcv candles"},{"path":"/api/scores","method":"GET","purpose":"0-100 AI trade scores for all assets (composite + 6 subscores)"},{"path":"/api/score/:symbol","method":"GET","purpose":"AI trade score for one symbol"},{"path":"/api/probability","method":"GET","purpose":"probabilistic clarity: upside probability + confidence interval + signal drivers per asset"},{"path":"/api/probability/:symbol/history","method":"GET","purpose":"rolling probability timeline (samples with CI band)"},{"path":"/api/orderbook/:symbol","method":"GET","purpose":"L3 order book depth (bids/asks, OKX, crypto only)"},{"path":"/api/contracts/:symbol","method":"GET","purpose":"L3 contract specification (tick size, lot size, min size, OKX SPOT)"}],"intelligence":[{"path":"/api/news","method":"GET","purpose":"headlines + per-asset sentiment classification"},{"path":"/api/onchain","method":"GET","purpose":"IOST mainnet dashboard (TPS, head block, large transfers, gas/RAM)"},{"path":"/api/assistant","method":"POST","body":"{question}","purpose":"natural-language market Q&A synthesized from live data"}],"risk":[{"path":"/api/risk","method":"POST","body":"{accountSize,maxRiskPct,entryPrice,stopLoss,targetPrice,side}","purpose":"position size, $ risk, R:R, potential P/L, exposure"},{"path":"/api/portfolio","method":"GET","purpose":"whole-portfolio AI analysis"}],"execution":[{"path":"/api/paper","method":"GET","purpose":"account + open positions + journal (mark-to-market)"},{"path":"/api/paper/open","method":"POST","body":"{symbol,side,size|stop+risk,stop,target,reason,confidence}","purpose":"open paper trade"},{"path":"/api/paper/close","method":"POST","body":"{positionId,exitPrice?}","purpose":"close paper trade"},{"path":"/api/paper/stats","method":"GET","purpose":"journal statistics (win rate, P&L)"},{"path":"/api/paper/reset","method":"POST","purpose":"reset paper account"}],"autonomy":[{"path":"/api/autopilot","method":"GET","purpose":"autopilot status + config + action audit trail + pending proposals"},{"path":"/api/autopilot/start","method":"POST","body":"{config?}","purpose":"enable autonomous trading loop"},{"path":"/api/autopilot/stop","method":"POST","purpose":"disable autonomous loop"},{"path":"/api/autopilot/config","method":"POST","body":"{requireApproval,openMinScore,maxConcurrent,...}","purpose":"update strategy params (requireApproval=true queues entries for human approval)"},{"path":"/api/autopilot/proposals","method":"GET","purpose":"pending human-in-the-loop proposals with full reasoning (symbol, size, stop, target, confidence, reason)"},{"path":"/api/autopilot/proposals/:id/approve","method":"POST","purpose":"human override — execute a pending proposal now"},{"path":"/api/autopilot/proposals/:id/reject","method":"POST","purpose":"human override — block a pending proposal"}],"meta":[{"path":"/api/meta","method":"GET","purpose":"platform state for agents: watchlist, account, engine status, freshness"},{"path":"/api/performance","method":"GET","purpose":"performance analytics: win rate, profit factor, expectancy, equity curve, per-symbol breakdown, recent trades"},{"path":"/api/ui-state","method":"GET","purpose":"single-call full snapshot mirroring the dashboard"},{"path":"/api/audit","method":"GET","purpose":"agent call audit log"},{"path":"/api/health","method":"GET","purpose":"liveness"}]}}