---
title: "Changes to Update a cached response"
method: PATCH
path: "/api/caches/{cache_key}/"
---

# Changes to Update a cached response

`PATCH /api/caches/{cache_key}/`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 6 of 19 revisions.

- **2026-10-21** `c30bcb383ee8`: 3 breaking, 5 info
- **2026-10-02** `b830b79cfd52`: 3 info
- **2026-09-17** `6fa8242da8c2`: 1 warning, 1 info
- **2026-09-12** `22b868ef3f22`: 1 info
- **2026-08-13** `4e064cf81dae`: 3 breaking, 9 warning, 12 info
- **2026-07-31** `c26d550029f8`: 1 info

## Changes

- **2026-10-21** `c30bcb383ee8`: 3 breaking, 5 info
  - request body became required
  - the response property `expiry_date` became nullable for the status `200`
  - the `response_time` response's property format changed from `double` to no format for status `200`
  - api operation id `caches_api_caches_partial_update_2` removed and replaced with `api_caches_partial_update_2`
  - the endpoint scheme security `DashboardJwt` was added to the API
  - api tag `Caches` added
  - api tag `caches` removed
  - the request property `expiry_date` became nullable
- **2026-10-02** `b830b79cfd52`: 3 info
  - removed the non-success response with the status `401`
  - added the required property `detail` to the response with the `403` status
  - 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 `api-caches-partial-update-2` removed and replaced with `caches_api_caches_partial_update_2`
- **2026-08-13** `4e064cf81dae`: 3 breaking, 9 warning, 12 info
  - the response property `request_content` became optional for the status `200`
  - the `full_response` response's property type changed from no type to `object` for status `200`
  - the `prompt_messages` response's property type changed from no type to `array` for status `200`
  - removed the request property `cache_key`
  - removed the request property `cache_key_by_org_uuid`
  - removed the request property `full_response`
  - removed the request property `hit_count`
  - removed the request property `prompt_messages`
  - removed the request property `response_time`
  - removed the request property `timestamp`
  - removed the request property `updated_at`
  - removed the optional property `cache_key_by_org_uuid` from the response with the `200` status
  - api tag `caches` added
  - api tag `logs` removed
  - added the non-success response with the status `400`
  - added the non-success response with the status `401`
  - added the non-success response with the status `403`
  - added the non-success response with the status `404`
  - added the optional property `id` to the response with the `200` status
  - the response property `cache_key` became required for the status `200`
  - the response property `hit_count` became required for the status `200`
  - the response property `timestamp` became required for the status `200`
  - the response property `updated_at` became required for the status `200`
  - removed `subschema #1, subschema #2` from the `prompt_messages` response property `oneOf` list for the response status `200`
- **2026-07-31** `c26d550029f8`: 1 info
  - endpoint added

---

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