---
title: "Update model"
method: PUT
path: "/assistant_models/{model_id}"
tags: ["AI Deployments"]
---

# Update model

`PUT /assistant_models/{model_id}`

Update a specific model

## Path parameters

- `model_id` string, required

## Request body

- BodyModel
  - `embeddings` string
  - `token` string
  - `max_tokens_to_generate` integer
  - `temperature` number, float
  - `provider` string
  - `name` string
  - `model_name` string

## Response `200`

successful

- Success
  - `success` boolean

## Other responses

- `400` — Invalid ID supplied
- `404` — Model not found

---

[API](https://skmtc.net/smartly/apis/smartly-ai-apis.md) · [All operations](https://skmtc.net/smartly/apis/smartly-ai-apis/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/smartly/smartly-ai-apis/versions/1e26909d86c9/schema)
