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

# Changes to Replace a custom model

`PUT /api/models/{model_name}/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 19 revisions.

- **2026-10-21** `c30bcb383ee8`: 15 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
- **2026-08-13** `4e064cf81dae`: 13 breaking, 26 warning, 24 info
- **2026-07-31** `c26d550029f8`: 19 breaking, 10 warning, 32 info

## Changes

- **2026-10-21** `c30bcb383ee8`: 15 breaking, 4 warning, 16 info
  - request body became required
  - 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_replaceCustomModel` removed and replaced with `replaceCustomModel`
  - 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 `replace-custom-model` removed and replaced with `models_replaceCustomModel`
- **2026-08-13** `4e064cf81dae`: 13 breaking, 26 warning, 24 info
  - request property `function_call` was restricted to a list of enum values
  - request property `image_support` was restricted to a list of enum values
  - request property `streaming_support` was restricted to a list of enum values
  - removed `subschema #1, subschema #2` from the `supported_params_override` request property `oneOf` list
  - the `function_call` request property type changed from `integer` to `string`
  - the `image_support` request property type changed from `integer` to `string`
  - the `streaming_support` request property type changed from `integer` to `string`
  - the `supported_params_override` request property type changed from no type to `object`
  - the `function_call` response's property type changed from `integer` to `string` for status `200`
  - the `image_support` response's property type changed from `integer` to `string` for status `200`
  - the `provider` response's property type changed from `integer, null` to `object` for status `200`
  - the `streaming_support` response's property type changed from `integer` to `string` for status `200`
  - removed the required property `project` from the response with the `200` status
  - removed the request property `affiliation_category`
  - removed the request property `is_called_by_custom_name`
  - removed the request property `is_managed`
  - removed the request property `is_verified`
  - removed the request property `load_balance_backups`
  - removed the request property `metadata`
  - removed the request property `model_type`
  - removed the request property `overridden_fields`
  - removed the request property `provider`
  - removed the request property `respan_discount_rate`
  - removed the request property `source`
  - removed the request property `status`
  - removed the optional property `is_managed` from the response with the `200` status
  - removed the optional property `is_verified` from the response with the `200` status
  - removed the optional property `load_balance_backups` from the response with the `200` status
  - removed the optional property `metadata` from the response with the `200` status
  - removed the optional property `overridden_fields` from the response with the `200` status
  - removed the optional property `respan_discount_rate` from the response with the `200` status
  - removed the optional property `status` from the response with the `200` status
  - added the new `0` enum value to the `function_call` response property for the response status `200`
  - added the new `0` enum value to the `image_support` response property for the response status `200`
  - added the new `0` enum value to the `streaming_support` response property for the response status `200`
  - added the new `1` enum value to the `function_call` response property for the response status `200`
  - added the new `1` enum value to the `image_support` response property for the response status `200`
  - added the new `1` enum value to the `streaming_support` response property for the response status `200`
  - added the new `respan` enum value to the `affiliation_category` response property for the response status `200`
  - added the new optional request property `custom_provider_id`
  - …23 more
- **2026-07-31** `c26d550029f8`: 19 breaking, 10 warning, 32 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 `0` of the request property `streaming_support`
  - removed the enum value `1` of the request property `function_call`
  - removed the enum value `1` of the request property `image_support`
  - removed the enum value `1` of the request property `streaming_support`
  - the `function_call` request property type changed from `string` to `integer`
  - the `image_support` request property type changed from `string` to `integer`
  - the `streaming_support` request property type changed from `string` to `integer`
  - the `supported_params_override` request property type changed from `object` to no type
  - the response property `provider` became nullable for the 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 `provider` response's property type changed from `object` to `integer, null` for status `200`
  - the `streaming_support` response's property type changed from `string` to `integer` for status `200`
  - removed the required property `id` from the response with the `200` status
  - removed the required property `provider/id` from the response with the `200` status
  - removed the required property `provider/provider_id` from the response with the `200` status
  - removed the required property `provider/provider_name` from the response with the `200` status
  - removed the request property `custom_provider_id`
  - removed the request property `provider_id`
  - removed the optional property `created_at` from the response with the `200` status
  - removed the optional property `provider/created_at` from the response with the `200` status
  - removed the optional property `provider/extra_kwargs` from the response with the `200` status
  - removed the optional property `provider/updated_at` from the response with the `200` status
  - removed the optional property `supported_params` 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`
  - added the new optional request property `affiliation_category`
  - added the new optional request property `is_called_by_custom_name`
  - added the new optional request property `is_managed`
  - added the new optional request property `is_verified`
  - added the new optional request property `load_balance_backups`
  - added the new optional request property `metadata`
  - added the new optional request property `model_type`
  - added the new optional request property `overridden_fields`
  - added the new optional request property `provider`
  - added the new optional request property `respan_discount_rate`
  - added the new optional request property `source`
  - …21 more

---

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