---
title: "Restart Onprem Backend"
method: POST
path: "/api/ui/onprem/restart"
tags: ["Web UI"]
---

# Restart Onprem Backend

`POST /api/ui/onprem/restart`

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.

## Response `200`

Successful Response

- unknown

---

[API](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love.md) · [All operations](https://skmtc.net/moorcheh-ai/apis/memanto-memory-that-ai-agents-love/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/moorcheh-ai/memanto-memory-that-ai-agents-love/revisions/f8fc41287ced/schema)
