API Endpoints
AI Engine
| Method | Path | Description |
|---|---|---|
| GET | /api/ai/status | AI system status (GPU, model, VRAM) |
| GET | /api/ai/hardware | Hardware detection results |
| GET | /api/ai/model-assignment | Current model assignments |
| GET | /api/ai/catalog | Model catalog (query: ?vram_mb=12000) |
| GET | /api/ai/agents | List domain agents |
| GET | /api/ai/agents/detect | Test intent detection (query: ?message=...) |
Authentication
| Method | Path | Description |
|---|---|---|
| POST | /api/auth/login | Login (returns JWT) |
| POST | /api/auth/register | Register new user |
| POST | /api/auth/refresh | Refresh JWT token |
| GET | /api/auth/me | Current user info |
Home Automation
| Method | Path | Description |
|---|---|---|
| GET | /api/home/entities | List all entities |
| POST | /api/home/control | Control a device |
| GET | /api/home/scenes | List scenes |
| POST | /api/home/scenes/:id/activate | Activate a scene |
Chat
| Method | Path | Description |
|---|---|---|
| POST | /api/chat | Send a chat message (HTTP, non-streaming) |
| POST | /api/code/chat | Code chat (for web IDE panel) |
Voice
| Method | Path | Description |
|---|---|---|
| GET | /api/voice/engines | Available STT/TTS engines |
| GET | /api/voice/status | Voice pipeline status |
System
| Method | Path | Description |
|---|---|---|
| GET | /health | Health check |
| GET | /api/system/info | System information |
| GET | /api/system/logs | Recent logs |
Knowledge (RAG)
| Method | Path | Description |
|---|---|---|
| GET | /api/mnemo/knowledge | List knowledge entries |
| POST | /api/mnemo/knowledge | Add knowledge |
| DELETE | /api/mnemo/knowledge/:id | Remove knowledge entry |
Licensing
| Method | Path | Description |
|---|---|---|
| POST | /api/licensing/activate | Activate license |
| GET | /api/licensing/status | License status |