---
title: "Update model"
method: PATCH
path: "/api/v1/models/{modelId}"
tags: ["Models"]
---

# Update model

`PATCH /api/v1/models/{modelId}`

Update metadata for an existing model. Currently supports renaming the model via the `name` field.

## Path parameters

- `modelId` string, uuid, required — Model UUID

## Request body

- ModelsUpdateBody
  - `name` string, required — New name for the model

## Response `200`

Model updated successfully

- ModelsUpdateResponse
  - `model` object, required — Updated model details
    - `id` string, uuid, required — Model ID
    - `name` string, required — Updated model name
  - `success` boolean, required — Whether the operation succeeded

## Other responses

- `400` — Invalid request body
- `401` — Authentication required
- `403` — Permission denied
- `404` — Model not found

---

[API](https://skmtc.net/omniapp/apis/omni-api.md) · [All operations](https://skmtc.net/omniapp/apis/omni-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/omniapp/omni-api/versions/4701f292c621/schema)
