---
title: "Changes to Recompute audit usage totals"
method: POST
path: "/internal/audit/usage/refresh"
---

# Changes to Recompute audit usage totals

`POST /internal/audit/usage/refresh`

> Every recorded change to this operation, newest first.

## Timeline

Changed in 4 of 308 revisions.

- **2026-12-01** `9e0e1784e377`: 6 warning
- **2026-11-07** `be73cfed1696`: 3 warning
- **2026-10-23** `c93387179b31`: 1 info
- **2026-10-08** `5e65f24df46a`: 1 info

## Changes

- **2026-12-01** `9e0e1784e377`: 6 warning
  - added the new `invalid_request` enum value to the `error` response property for the response status `401`
  - added the new `invalid_request` enum value to the `error` response property for the response status `404`
  - added the new `invalid_request` enum value to the `error` response property for the response status `500`
  - added the new `prune_failed` enum value to the `error` response property for the response status `401`
  - added the new `prune_failed` enum value to the `error` response property for the response status `404`
  - added the new `prune_failed` enum value to the `error` response property for the response status `500`
- **2026-11-07** `be73cfed1696`: 3 warning
  - added the new `reconcile_failed` enum value to the `error` response property for the response status `401`
  - added the new `reconcile_failed` enum value to the `error` response property for the response status `404`
  - added the new `reconcile_failed` enum value to the `error` response property for the response status `500`
- **2026-10-23** `c93387179b31`: 1 info
  - the `refreshedAt` response's property pattern was changed from `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d(?::[0-5]\d(?:\.\d+)?)?(?:Z))$` to `^(?:(?:\d\d[2468][048]|\d\d[13579][26]|\d\d0[48]|[02468][048]00|[13579][26]00)-02-29|\d{4}-(?:(?:0[13578]|1[02])-(?:0[1-9]|[12]\d|3[01])|(?:0[469]|11)-(?:0[1-9]|[12]\d|30)|(?:02)-(?:0[1-9]|1\d|2[0-8])))T(?:(?:[01]\d|2[0-3]):[0-5]\d:[0-5]\d(?:\.\d+)?(?:Z))$` for the status `200`
- **2026-10-08** `5e65f24df46a`: 1 info
  - endpoint added

---

[Operation](https://skmtc.dev/openworklabs/apis/den-api/docs/internal/audit/usage/refresh/post.md) - [API](https://skmtc.dev/openworklabs/apis/den-api.md) - [Page](https://skmtc.dev/openworklabs/apis/den-api/changes/internal/audit/usage/refresh/post)
