---
title: "GET /api/audits/{id}/versions"
method: GET
path: "/api/audits/{id}/versions"
tags: ["Audits"]
---

# GET /api/audits/{id}/versions

`GET /api/audits/{id}/versions`

Version history of an audit: other audits with the same audit type and audited company that are shared with the caller (active or archived shares). The reference audit itself is excluded and must be visible to the caller (404 otherwise).

## Path parameters

- `id` string, required

## Query parameters

- `page` integer
- `count` integer

## Response `200`

Default Response

- object
  - `meta` object, required
    - `count` number, required
    - `page` number, required
    - `totalCount` number, required
    - `pageSize` number, required
  - `data` object[], required
    - `id` string, required
    - `companyId` string, required
    - `name` string, nullable, required
    - `isPublic` boolean, required
    - `rights` string[], nullable, required
    - `privacyStatus` object, required
      - `status` 'public' | 'private', required
    - `companyName` string, nullable
    - `city` string, nullable
    - `auditTypeId` string, nullable
    - `auditTypeName` string, nullable
    - `type` string, nullable
    - `auditedBy` string, nullable
    - `auditDate` string, nullable
    - `referenceNumber` string, nullable
    - `facilityScore` string, nullable
    - `nextPlannedAuditDate` string, nullable
    - `auditReportFileId` string, nullable
    - `auditReportFileUrl` string, nullable
    - `auditReportFileOriginalUrl` string, nullable
    - `auditReportFileBucketName` string, nullable
    - `auditReportFileType` string, nullable
    - `auditReportFileContentType` string, nullable
    - `correctiveActionPlanFileId` string, nullable
    - `correctiveActionPlanFileUrl` string, nullable
    - `correctiveActionPlanFileOriginalUrl` string, nullable
    - `correctiveActionPlanFileBucketName` string, nullable
    - `correctiveActionPlanFileFileType` string, nullable
    - `correctiveActionPlanFileContentType` string, nullable
    - `uploaderCompanyId` string, nullable
    - `uploaderCompanyName` string, nullable
    - `createdAt` string, nullable
    - `createdByImpersonateId` string, nullable
    - `createdByUserId` string, nullable
    - `createdByCompanyId` string, nullable
    - `createdByApiKeyId` string, nullable
    - `createdByApiKeyLabel` string, nullable
    - `updatedAt` string, nullable
    - `updatedByImpersonateId` string, nullable
    - `updatedByImpersonateName` string, nullable
    - `updatedByUserId` string, nullable
    - `updatedByUserName` string, nullable
    - `updatedByCompanyId` string, nullable
    - `updatedByCompanyName` string, nullable
    - `updatedByApiKeyId` string, nullable
    - `updatedByApiKeyLabel` string, nullable

## Other responses

- `400` — Default Response
- `401` — Default Response
- `403` — Default Response
- `404` — Default Response

## Changes

> 28 revisions in range; 1 not diffed.

- **2026-09-04** `12c6dbeb1fd5` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/retraced/apis/api-reference/changes/api/audits/:id/versions/get.md)

---

[API](https://skmtc.dev/retraced/apis/api-reference.md) · [All operations](https://skmtc.dev/retraced/apis/api-reference/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/retraced/api-reference/revisions/2a6615ed15f9/schema)
