---
title: "Changes to POST /api/audits/"
method: POST
path: "/api/audits/"
---

# Changes to POST /api/audits/

`POST /api/audits/`

> Every recorded change to this endpoint, newest first.
> 49 revisions in range; 1 not diffed.

## Timeline

Changed in 1 of 49 revisions.

- **2026-08-31** `97e51f27dc77` — 31 breaking, 33 info

## Changes

- **2026-08-31** `97e51f27dc77` — 31 breaking, 33 info
  - added the new required request property `auditReportFile/bucketName`
  - added the new required request property `auditReportFile/id`
  - added the new required request property `auditReportFile/url`
  - added the new required request property `correctiveActionPlanFile/bucketName`
  - added the new required request property `correctiveActionPlanFile/id`
  - added the new required request property `correctiveActionPlanFile/url`
  - removed `subschema #1, subschema #2` from the `auditReportFile` request property `anyOf` list
  - removed `subschema #1, subschema #2` from the `correctiveActionPlanFile` request property `anyOf` list
  - request property `generatedBy` was restricted to a list of enum values
  - request property `auditDate` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `auditReportFileId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `auditedBy` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `correctiveActionPlanFileId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `extractFile` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `facilityScore` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `generatedBy` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `nextPlannedAuditDate` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `referenceNumber` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `shareWithCompanyId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - request property `workflowId` list-of-types was narrowed by removing types `null` from media type `application/json`
  - the `workflowId` request property's minLength was increased from `0` to `1`
  - the `auditReportFile` request property type changed from no type to `object`
  - the `correctiveActionPlanFile` request property type changed from no type to `object`
  - the response property `data/auditTypeId` became nullable for the status `200`
  - the response property `data/auditTypeName` became nullable for the status `200`
  - the response property `data/companyId` became nullable for the status `200`
  - the response property `data/facilityScore` became nullable for the status `200`
  - the response property `data/name` became nullable for the status `200`
  - the response property `data/referenceNumber` became nullable for the status `200`
  - the response property `data/type` became nullable for the status `200`
  - the response property `data/uploaderCompanyId` became nullable for the status `200`
  - added the new optional request property `auditReportFile/contentType`
  - added the new optional request property `auditReportFile/fileHash`
  - added the new optional request property `auditReportFile/fileSize`
  - added the new optional request property `auditReportFile/fileType`
  - added the new optional request property `auditReportFile/name`
  - added the new optional request property `correctiveActionPlanFile/contentType`
  - added the new optional request property `correctiveActionPlanFile/fileHash`
  - added the new optional request property `correctiveActionPlanFile/fileSize`
  - added the new optional request property `correctiveActionPlanFile/fileType`
  - …24 more

---

[Operation](https://skmtc.dev/retraced/apis/api-reference/docs/api/audits/post.md) · [API](https://skmtc.dev/retraced/apis/api-reference.md) · [Page](https://skmtc.dev/retraced/apis/api-reference/changes/api/audits/post)
