---
title: "Install a model by preset ID"
method: POST
path: "/v1/model-configs/install"
tags: ["Model Configs"]
---

# Install a model by preset ID

`POST /v1/model-configs/install`

## Request

- Base URL: `http://localhost:9998`
- URL: `http://localhost:9998/v1/model-configs/install`
- Auth: HTTP bearer

Dispatches to the appropriate installation method (HuggingFace download,
no-op for built-in, etc.) based on the preset's backend.

## Request body

- object
  - `presetId` string, required

## Response `200`

Installation started or already available

- union
  - OkResponseWithDownloadId
    - `ok` true, required
    - `downloadId` string, required
  - object
    - `message` string

## Other responses

- `400`: Invalid request
- `404`: Resource not found

---

[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)
