Technical Interface Diagram
Complete map of page → API → pipeline → database interfaces across the solution
Frontend Pages → API Endpoints
API Endpoint Catalog
Dashboard
Notifications
Agents
Transactions
Rules & Thresholds
Simulation
Audit
Consents
System
Internal Pipeline Interfaces
Database Collections & Writers
id, name, type, trust_score, auth_mode, status, certificate_status, daily_tx_count, daily_tx_total, last_activity
Writers: POST /agents, /suspend, /activate, PUT /agents, POST /transactions
id, agent_id, amount, recipient{}, consumer_id, risk_score, status, decision_tier, triggered_rules[], reasoning[], reviewed_by
Writers: POST /transactions, /approve, /reject, /bulk-review, /suspend, /revoke
id, rule_key, name, description, enabled, severity, category
Writers: POST /rules/toggle, PUT /rules
id, auto_execute_ceiling, supervised_ceiling, hard_block_floor, daily_agent_limit, max_tx_velocity
Writers: PUT /thresholds
id, consumer_id, consumer_name, agent_id, permissions{6}, scope, status, granted_at, expires_at, revoked_at
Writers: POST /consents, /revoke
id, event_type, event_category, actor, details{}, timestamp, hash (SHA-256)
Writers: All mutating endpoints (append-only)
id, type, title, message, link, meta{}, read, created_at
Writers: POST /transactions (auto), /bulk-review
id, agent_id, agent_name, trust_score, reason, timestamp
Writers: POST /agents, /suspend, /activate, PUT /agents
End-to-End Data Flow
Operator Browser
React SPA
HTTPS REST
JSON + CORS
FastAPI Router
Pydantic validation
Decision Pipeline
5-step state machine
Side Effects
Audit · Notif · Trust
MongoDB Motor
8 collections