Englische Quelle — Übersetzung ausstehend — Englisch

API Reference

The Control Center backend is a FastAPI application exposing *203 /api/

endpoints across 22 groups** (verified by scanning the route modules in

src/nexus_scalp/web/), plus Server-Sent Events for ticks and WebSocket for

the dashboard. Everything the UI does, the API does — the UI is a consumer of

the same surface.

HINWEIS

Endpoint counts are generated from the repository's actual route decorators —

they drift with the code, and the docs doctor flags stale counts.

Discovery

Endpoint groups (verified)

GroupCountWhat it covers
/api/models/*45governance, promotion/rollback previews, load gate, model inventory
/api/research/*23datasets, discovery, runs, evidence, observability, retry/cancel
/api/news/*18ingestion, analysis, consensus, keywords, bounded gate state
/api/db/*12migrations, hygiene runtime + quarantine, console, portability
/api/account/*11equity curve, drawdown, growth, performance intelligence
/api/debug/*10canonical 18-section debug snapshot, traces
/api/diagnostics/*10read-only incident diagnostics, export
/api/intelligence/*10behavior detections, anomalies, lifecycle
/api/command-center/*8operator command surfaces
/api/operator/*6operator actions (gated)
/api/replay/*6historical session replay over the shared engine
/api/experience/*5autopsy, outcome recovery
/api/runtime-config/*4authoritative runtime snapshots (hot reload)
/api/settings/*4settings DB (secrets never returned)
/api/liquidity/*3liquidity state/features/toggle (research governor)
/api/forensics/*2health engine, deploy gate
others (rules, live, engine, config, mslie, algo, …)restrules matrix, SSE streams, algo tuner

Conventions

Examples

# engine health
curl http://127.0.0.1:8080/health

# account performance intelligence (compact intelligence block included)
curl http://127.0.0.1:8080/api/account/performance/intelligence

# forensic health verdicts
curl http://127.0.0.1:8080/api/forensics/health

# debug snapshot: 18 canonical sections, contract validation included
curl http://127.0.0.1:8080/api/debug/state

# live tick stream (SSE)
curl -N http://127.0.0.1:8080/api/ticks/stream

Automation notes

Where the code lives

Route modules: src/nexus_scalp/web/ (server.py + domain modules:

debug_research_routes.py, diagnostics_state_routes.py,

news_liquidity_mslie_routes.py, factory_routes.py, db_console.py, …).

Contracts are indexed in

">https://github.com/Opselon/NexusTradingForexBot/blob/main/agents/contracts.md">agents/contracts.md.