Admin API
Requires admin PAT or LAN PIN challenge (build-dependent).
| Method | Path | Purpose |
|---|---|---|
GET | /api/v1/admin/logs?tail=200 | PM2 / app log tail |
POST | /api/v1/admin/restart | Restart Node process |
POST | /api/v1/admin/reboot | Reboot OS (sudo) |
GET | /api/v1/admin/flags | Feature flag map |
PATCH | /api/v1/admin/flags | Toggle experimental modules |
⚠️ Warning: /reboot interrupts in-flight voice and file writes — use sparingly.
Troubleshooting
403
Token missing admin:* scope — recreate PAT.
Last updated on
Was this helpful?