---
title: "Update Model"
method: PUT
path: "/tailored-gen/models/{model_id}"
tags: ["Tailored Generation"]
---

# Update Model

`PUT /tailored-gen/models/{model_id}`

Update a model's name and description. Other model attributes such as training version and dataset cannot be modified after creation.

## Path parameters

- `model_id` integer, required

## Headers

- `api_token` string, required

## Request body

- object
  - `name` string — New model name (optional)
  - `description` string — New model description (optional)

## Response `200`

Model successfully updated

- object
  - `id` integer — Unique identifier for the model
  - `name` string — Name of the model
  - `description` string — Description of the model
  - `status` 'Created' | 'InProgress' | 'Completed' | 'Failed' | 'Stopping' | 'Stopped' — Status of the model
  - `training_version` 'light' | 'max' — Training version
  - `generation_prefix` string — Text drawn from the dataset's caption_prefix that is automatically prepended to generation prompts to maintain consistency. It matches the dataset's caption_prefix. It can be bypassed during generation by setting include_generation_prefix=false.
  - `project_id` integer — ID of the project this model belongs to
  - `dataset_id` integer — ID of the dataset used for training
  - `created_at` string, date-time — Timestamp when the model was created

## Other responses

- `401` — Unauthorized
- `404` — Model not found
- `429` — Request limit exceeded. Your account has reached its maximum allowed requests. Please upgrade your plan or try again later.
- `500` — Internal server error

---

[API](https://skmtc.net/bria-ai/apis/the-bria-api.md) · [All operations](https://skmtc.net/bria-ai/apis/the-bria-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/bria-ai/the-bria-api/versions/2768230345a5/schema)
