Last updated: 2025-11-26
Web UI backend (Express, port 8787) exposes APIs for configuration, service health, and audit.
GET /api/system/containers– status of Heuristics, Semantic, LLM Safety Engine, Language Detector, ClickHouse, PII, Grafana (includes latency/status).GET /api/config– fetch configuration (including unified_config, allowlist, pii.conf if exposed).POST /api/config– save configuration; uses ETag for race protection.GET /api/audit– configuration change log.
- JWT; secrets in
JWT_SECRET. Ensure reverse proxy restricts public access in production.
- Environment vars:
HEURISTICS_SERVICE_URL,SEMANTIC_SERVICE_URL,PROMPT_GUARD_URL,LANGUAGE_DETECTOR_URL. - ClickHouse:
CLICKHOUSE_URL,CLICKHOUSE_USER,CLICKHOUSE_PASSWORD.
Example item:
{
"name": "Branch C (LLM Safety Engine Analysis)",
"status": "healthy|unhealthy|unknown",
"latency_ms": 123
}