---
title: "Changes to Update a prompt version"
method: PATCH
path: "/api/prompts/{prompt_id}/versions/{version}/"
---

# Changes to Update a prompt version

`PATCH /api/prompts/{prompt_id}/versions/{version}/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 12 revisions.

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

## Changes

- **2026-10-21** `c30bcb383ee8`: 33 breaking, 21 info
  - request body became required
  - removed `#/components/schemas/ApiPromptsPromptIdVersionsVersionPatchRequestBodyContentApplicationJsonSchemaJsonSchema, subschema #2` from the `json_schema` request property `oneOf` list
  - removed `#/components/schemas/ApiPromptsPromptIdVersionsVersionPatchRequestBodyContentApplicationJsonSchemaResponseFormat, subschema #2` from the `response_format` request property `oneOf` list
  - removed `#/components/schemas/ApiPromptsPromptIdVersionsVersionPatchRequestBodyContentApplicationJsonSchemaThinking, subschema #2` from the `thinking` request property `oneOf` list
  - removed `subschema #1, subschema #2` from the `messages/items/content` request property `oneOf` list
  - removed `subschema #1, subschema #2` from the `tool_choice` request property `oneOf` list
  - the `json_schema` request property type changed from no type to `object`
  - the `response_format` request property type changed from no type to `object`
  - the `thinking` request property type changed from no type to `object`
  - the response property `description` became nullable for the status `200`
  - the response property `fallback_models` became nullable for the status `200`
  - the response property `frequency_penalty` became nullable for the status `200`
  - the response property `json_schema` became nullable for the status `200`
  - the response property `load_balance_models` became nullable for the status `200`
  - the response property `max_tokens` became nullable for the status `200`
  - the response property `presence_penalty` became nullable for the status `200`
  - the response property `reasoning_effort` became nullable for the status `200`
  - the response property `response_format` became nullable for the status `200`
  - the response property `seed` became nullable for the status `200`
  - the response property `temperature` became nullable for the status `200`
  - the response property `thinking` became nullable for the status `200`
  - the response property `tools` became nullable for the status `200`
  - the response property `top_p` became nullable for the status `200`
  - the response property `verbosity` became nullable for the status `200`
  - added `subschema #1, subschema #2` to the `messages/items/content` response property `oneOf` list for the response status `200`
  - added `subschema #1, subschema #2` to the `tool_choice` response property `oneOf` list for the response status `200`
  - the `frequency_penalty` response's property type changed from `number, null` to `number`, and format from `double` to no format for status `200`
  - the `json_schema` response's property type changed from no type to `object` for status `200`
  - the `presence_penalty` response's property type changed from `number, null` to `number`, and format from `double` to no format for status `200`
  - the `response_format` response's property type changed from no type to `object` for status `200`
  - the `temperature` response's property type changed from `number, null` to `number`, and format from `double` to no format for status `200`
  - the `thinking` response's property type changed from no type to `object` for status `200`
  - the `top_p` response's property type changed from `number, null` to `number`, and format from `double` to no format for status `200`
  - api operation id `prompts_updatePromptVersion` removed and replaced with `updatePromptVersion`
  - the endpoint scheme security `DashboardJwt` was added to the API
  - api tag `Prompts` added
  - api tag `prompts` removed
  - the request property `json_schema` became nullable
  - the request property `reasoning_effort` became nullable
  - the request property `response_format` became nullable
  - …14 more
- **2026-10-02** `b830b79cfd52`: 3 warning, 3 info
  - removed the optional property `error` from the response with the `400` status
  - removed the optional property `error` from the response with the `404` status
  - removed the optional property `is_deployed` from the response with the `200` status
  - added the non-success response with the status `403`
  - removed the non-success response with the status `401`
  - added the required property `detail` to the response with the `404` status
- **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-prompt-version` removed and replaced with `prompts_updatePromptVersion`

---

[Operation](https://skmtc.dev/respan/apis/respan-api/docs/api/prompts/:prompt_id/versions/:version/patch.md) - [API](https://skmtc.dev/respan/apis/respan-api.md) - [Page](https://skmtc.dev/respan/apis/respan-api/changes/api/prompts/:prompt_id/versions/:version/patch)
