[kimi] Add /api/matrix/health endpoint (#685) #745

Merged
kimi merged 1 commits from kimi/issue-685 into main 2026-03-21 15:51:30 +00:00

1 Commits

Author SHA1 Message Date
kimi
e51fe3caee feat: Add /api/matrix/health endpoint
Some checks failed
Tests / lint (pull_request) Has been cancelled
Tests / test (pull_request) Has been cancelled
Add a dedicated health endpoint for the Matrix frontend to check backend
capabilities and availability.

Changes:
- Added GET /api/matrix/health endpoint in src/dashboard/routes/world.py
- Returns status (ok/degraded), version, and capabilities dict
- Capabilities: thinking, memory, bark, familiar, lightning
- Each capability checks if the relevant module is available
- Response time <100ms (lightweight checks)
- Returns 200 even if some capabilities are degraded
- Added comprehensive tests in tests/dashboard/test_world_api.py

Fixes #685
2026-03-21 11:49:43 -04:00