---
title: "Get file history on a matter"
method: GET
path: "/matters/{matterId}/documents/files/{fileId}/history"
tags: ["Files"]
---

# Get file history on a matter

`GET /matters/{matterId}/documents/files/{fileId}/history`

Returns the full list of history entries for the specified file. The result is not paged.

## Path parameters

- `matterId` string, required
- `fileId` string, required

## Response `200`

When request is successful. Returns a collection of 'FileFolderLogEntry' objects.

- FileFolderLogEntryCollection
  - `id` string, nullable
  - `href` string, nullable
  - `relation` string, nullable
  - `method` string, nullable
  - `self` Link
    - `id` string, nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
  - `value` FileFolderLogEntry[], nullable
    - `href` string, nullable
    - `relation` string, nullable
    - `method` string, nullable
    - `self` Link
      - `id` string, nullable
      - `href` string, nullable
      - `relation` string, nullable
      - `method` string, nullable
    - `id` string, nullable — Unique identifier of this log entry.
    - `type` string — The type of entity this log entry refers to. Possible values: `File`, `Folder`.
    - `changeType` string — The type of change that occurred. Possible values: `Revert`, `Copy`, `CopyToAnotherMatter`, `CopyFromAnotherMatter`, `Restore`, `Rename`, `Move`, `MoveToAnotherMatter`, `MoveFromAnotherMatter`, `Delete`, `Created`, `Modified`, `Cancelled`, `AddedToFavorites`, `RemovedFromFavorites`, `FolderPinned`, `FolderUnpinned`.
    - `timestamp` string, date-time — When the client recorded the action (UTC).
    - `file` Link
      - `id` string, nullable
      - `href` string, nullable
      - `relation` string, nullable
      - `method` string, nullable
    - `folder` Link
      - `id` string, nullable
      - `href` string, nullable
      - `relation` string, nullable
      - `method` string, nullable
    - `oldName` string, nullable — Old name prior to a rename operation (when applicable).
    - `newName` string, nullable — New name after a rename operation (when applicable).
    - `oldMatterId` string, nullable — Previous matter identifier (for move/copy across matters).
    - `newMatterId` string, nullable — New matter identifier (for move/copy across matters).
    - `oldFolderId` string, nullable — Previous folder identifier (for move within/between matters).
    - `newFolderId` string, nullable — New folder identifier (for move within/between matters).
    - `copySourceFileId` string, nullable — For copy operations, the source file's identifier when copying a file.
    - `copySourceFolderId` string, nullable — For copy operations, the source folder's identifier when copying a folder.
    - `documentVersionId` string, nullable — Identifier of the document version involved (only for version replace/revert scenarios). Can be used to download particular file versions.
    - `userId` string, nullable — Unique identifier of the user who is responsible for this change.

## Other responses

- `400` — When a supplied id is not a valid GUID.

## Changes

- **2026-08-26** `db1b8a86b58e` — 2 info
  - added the non-success response with the status `400`
  - removed the non-success response with the status `403`

[Change history](https://skmtc.dev/smokeball/apis/api/changes/matters/:matterId/documents/files/:fileId/history/get.md)

---

[API](https://skmtc.dev/smokeball/apis/api.md) · [All operations](https://skmtc.dev/smokeball/apis/api/llms.txt) · [OpenAPI document](https://skmtc.dev/smokeball/apis/api/revisions/b05b7b93cefa?raw)
