v21

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-044334120.9 KB
Web UI

Restart Onprem Backend

Bounce the on-prem moorcheh stack so it re-reads ~/.moorcheh/config.json.

moorcheh down + moorcheh up (with embedding flags recovered from state.json / config.json). Waits up to ~6 minutes total (5min for up, 60s for /health).

A module-level async lock prevents concurrent restart requests from interleaving down/up calls against the same Moorcheh stack, which can leave the backend in an inconsistent state.

post/api/ui/onprem/restart

Response

Successful Response

{"stackTrail":"paths:/api/ui/onprem/restart:post:responses:200:content:application/json:schema","oasType":"schema","type":"unknown"}