---
title: "Unload a model or stop the engine"
method: POST
path: "/v1/engine/unload"
tags: ["Engine"]
---

# Unload a model or stop the engine

`POST /v1/engine/unload`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/engine/unload`
- Auth: HTTP bearer

With `modelId`: unloads that specific model. Without body: stops
the entire router.

## Request body

- object
  - `modelId` string: Model UUID (omit to stop entire router)

## Response `200`

Model unloaded or engine stopped

- OkResponse
  - `ok` true, required

---

[API](https://skmtc.dev/modelpiper/apis/toolpiper-api.md) · [All operations](https://skmtc.dev/modelpiper/apis/toolpiper-api/llms.txt) · [OpenAPI document](https://skmtc.dev/modelpiper/apis/toolpiper-api/revisions/6722bf56385c?raw)
