NAKAMINT V4.0 Autonomous Sagacity Trading Engine · 200 Sensors · 16-Gate Confluence · 1× Spot Custody · Zero Perf Fee in Drawdown
Home / API Documentation
Sagacity Engine API & Telemetry v4.0

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.

REST Prefix
/api/* (FastAPI)
WebSocket Stream
/ws/telemetry
Authentication
Bearer JWT
Swarm Cadence
10Hz Telemetry · 200 Sensors

1. Authentication (Bearer JWT)

Account and bot-control endpoints use standard JWT Bearer authentication issued by /api/auth/login:

Authorization: Bearer <jwt_access_token>
Content-Type: application/json

2. GET /api/system/v4-health

PUBLIC

Returns 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.