REST & WebSocket Telemetry Reference
Real-time FastAPI endpoints powering the NakaMint cockpit: 200-sensor swarm diagnostics, plain-English Bot Status LCD, Master Bot arming, and 10Hz telemetry streaming.
1. Authentication (Bearer JWT)
Account and bot-control endpoints use standard JWT Bearer authentication issued by /api/auth/login:
2. GET /api/system/v4-health
PUBLICReturns live sensor readiness, black-swan status, reconciliation state, active coin universe count, and Meta-Judge consensus summary.
{
"version": "4.0.0",
"total_sensors": 200,
"active_sensors": 200,
"black_swan_active": false,
"reconciliation_status": "CLEAN",
"active_universe_count": 40
}
3. GET /api/bot/status-lcd
AUTHENTICATED
Returns the plain-English Bot Status LCD readout, tone (olive / amber / danger / neutral), safety-guard reason, watchlist summary, and prioritized sensor ticker updates.
4. POST /api/bot/toggle
AUTHENTICATED
Arms or places the Autonomous Sentry on standby ({"arm": true | false}). Enforces KYC approval and minimum $50.00 USDT vault balance when arming.
5. WS /ws/telemetry
10HZ STREAM
Streams 200-sensor SharedMemory updates, 21 division scores, Meta-Judge consensus, and BOT_TRADE_EVENT / WALLET_BALANCE_UPDATE notifications to the cockpit.