---
title: "List document revisions"
method: GET
path: "/hubs/{HubHashId}/projects/{ProjectId}/documents/{DocumentId}/revisions"
tags: ["Document"]
---

# List document revisions

`GET /hubs/{HubHashId}/projects/{ProjectId}/documents/{DocumentId}/revisions`

Retrieve all file revisions of a document.

## Path parameters

- `DocumentId` string, required
- `HubHashId` string, required
- `ProjectId` integer, required

## Response `200`

OK

- FeaturesDocumentsGetDocumentRevisionsGetDocumentRevisionsResponse
  - `revisions` FeaturesDocumentsGetDocumentRevisionsRevisionResponse[], nullable
    - `id` string, nullable
    - `revisionNumber` FeaturesDocumentsRevisionNumberResponse
      - `prefix` string, nullable
      - `number` string, nullable
      - `suffix` string, nullable
    - `disciplines` FeaturesSharedModelsDisciplineModel[], nullable
      - `id` integer
      - `name` string, nullable, required
    - `metadata` FeaturesDocumentsGetDocumentRevisionsMetadataEntryResponse[], nullable
      - `name` string, nullable
      - `value` string, nullable
      - `type` 1 | 2 | 3
    - `lastModifiedDate` string, date-time
    - `lastModifiedByUser` FeaturesSharedModelsUserSummary
      - `id` integer
      - `firstName` string, nullable
      - `lastName` string, nullable
      - `email` string, nullable
      - `avatarUrl` string, nullable
      - `isDisabled` boolean
    - `documentStatus` 1 | 2 | 3 | 4 | 5 | 6
    - `isDeleted` boolean
    - `deletedDate` string, date-time, nullable

## Other responses

- `307` — According to the hub id, the request is at the wrong datacenter. Please retry with the URL in the "Location" header.
- `403` — The request is not authenticated.
- `404` — The project or document doesn't exist

---

[API](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api.md) · [All operations](https://skmtc.dev/bimtrackapp/apis/newforma-konekt-document-control-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/bimtrackapp/newforma-konekt-document-control-api/revisions/4671d430ce39/schema)
