---
title: "Changes to Update a custom model"
method: PATCH
path: "/api/models/{model_name}/"
---

# Changes to Update a custom model

`PATCH /api/models/{model_name}/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 12 revisions.

- **2026-10-21** `c30bcb383ee8`: 14 breaking, 4 warning, 16 info
- **2026-10-02** `b830b79cfd52`: 10 warning, 3 info
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
- **2026-09-12** `22b868ef3f22`: 1 info

## Changes

- **2026-10-21** `c30bcb383ee8`: 14 breaking, 4 warning, 16 info
  - removed the enum value `0` of the request property `function_call`
  - removed the enum value `0` of the request property `image_support`
  - removed the enum value `1` of the request property `function_call`
  - removed the enum value `1` of the request property `image_support`
  - the `function_call` request property type changed from `string` to `integer`
  - the `image_support` request property type changed from `string` to `integer`
  - the response property `provider/created_at` became nullable for the status `200`
  - the response property `provider/updated_at` became nullable for the status `200`
  - the `cache_creation_input_cost` response's property format changed from `double` to no format for status `200`
  - the `cache_hit_input_cost` response's property format changed from `double` to no format for status `200`
  - the `function_call` response's property type changed from `string` to `integer` for status `200`
  - the `image_support` response's property type changed from `string` to `integer` for status `200`
  - the `input_cost` response's property format changed from `double` to no format for status `200`
  - the `output_cost` response's property format changed from `double` to no format for status `200`
  - added the new `0.00` enum value to the `function_call` response property for the response status `200`
  - added the new `0.00` enum value to the `image_support` response property for the response status `200`
  - added the new `1.00` enum value to the `function_call` response property for the response status `200`
  - added the new `1.00` enum value to the `image_support` response property for the response status `200`
  - api operation id `models_updateCustomModel` removed and replaced with `updateCustomModel`
  - the endpoint scheme security `DashboardJwt` was added to the API
  - api tag `Models` added
  - api tag `models` removed
  - added the new `0.00` enum value to the request property `function_call`
  - added the new `0.00` enum value to the request property `image_support`
  - added the new `1.00` enum value to the request property `function_call`
  - added the new `1.00` enum value to the request property `image_support`
  - the `cache_creation_input_cost` request property format was generalized from `double` to no format
  - the `cache_hit_input_cost` request property format was generalized from `double` to no format
  - the `input_cost` request property format was generalized from `double` to no format
  - the `output_cost` request property format was generalized from `double` to no format
  - removed the `0` enum value from the `function_call` response property for the response status `200`
  - removed the `0` enum value from the `image_support` response property for the response status `200`
  - removed the `1` enum value from the `function_call` response property for the response status `200`
  - removed the `1` enum value from the `image_support` response property for the response status `200`
- **2026-10-02** `b830b79cfd52`: 10 warning, 3 info
  - removed the request property `display_name`
  - removed the request property `streaming_support`
  - removed the optional property `created_at` from the response with the `200` status
  - removed the optional property `display_name` from the response with the `200` status
  - removed the optional property `error` from the response with the `403` status
  - removed the optional property `source` from the response with the `200` status
  - removed the optional property `streaming_support` from the response with the `200` status
  - removed the optional property `throughput` from the response with the `200` status
  - removed the optional property `updated_at` from the response with the `200` status
  - added the new `keywordsai` enum value to the `affiliation_category` response property for the response status `200`
  - removed the non-success response with the status `401`
  - the response property `detail` became required for the status `403`
  - removed the `respan` enum value from the `affiliation_category` response property for the response status `200`
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
  - deleted the `header` request parameter `Authorization`
  - the endpoint scheme security `RespanApiKey` was added to the API
- **2026-09-12** `22b868ef3f22`: 1 info
  - api operation id `update-custom-model` removed and replaced with `models_updateCustomModel`

---

[Operation](https://skmtc.dev/respan/apis/respan-api/docs/api/models/:model_name/patch.md) - [API](https://skmtc.dev/respan/apis/respan-api.md) - [Page](https://skmtc.dev/respan/apis/respan-api/changes/api/models/:model_name/patch)
