---
title: "Changes to Upsert AI Model version spec"
method: PUT
path: "/v1/ai-models/{aiModelId}/versions/latest/spec"
---

# Changes to Upsert AI Model version spec

`PUT /v1/ai-models/{aiModelId}/versions/latest/spec`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 155 revisions.

- **2026-11-16** `a209c8bfa7b7`: 4 info
- **2026-11-12** `d8bd04cfbaf7`: 2 breaking, 2 warning
- **2026-10-15** `7aab863a6daa`: 1 breaking, 2 warning
- **2026-10-07** `59663dd13a10`: 1 info

## Changes

- **2026-11-16** `a209c8bfa7b7`: 4 info
  - the `spec_type` response property const value `oas` was added for the status `200`
  - the `spec_type` response property const value `oas` was added for the status `201`
  - removed the `oas` enum value from the `spec_type` response property for the response status `200`
  - removed the `oas` enum value from the `spec_type` response property for the response status `201`
- **2026-11-12** `d8bd04cfbaf7`: 2 breaking, 2 warning
  - the `spec_type` response property const value `oas` was removed for the status `200`
  - the `spec_type` response property const value `oas` was removed for the status `201`
  - added the new `oas` enum value to the `spec_type` response property for the response status `200`
  - added the new `oas` enum value to the `spec_type` response property for the response status `201`
- **2026-10-15** `7aab863a6daa`: 1 breaking, 2 warning
  - added `#/components/schemas/InvalidParameterMinimumTime, #/components/schemas/InvalidParameterMaximumTime` to the `invalid_parameters/items/` response property `oneOf` list for the response status `400`
  - added the new `key_invalid` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
  - added the new `unique` enum value to the `invalid_parameters/items/oneOf[#/components/schemas/InvalidParameterStandard]/rule` response property for the response status `400`
- **2026-10-07** `59663dd13a10`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/kong/apis/konnect-api-go-sdk/docs/v1/ai-models/:aiModelId/versions/latest/spec/put.md) - [API](https://skmtc.dev/kong/apis/konnect-api-go-sdk.md) - [Page](https://skmtc.dev/kong/apis/konnect-api-go-sdk/changes/v1/ai-models/:aiModelId/versions/latest/spec/put)
