---
title: "List File Revisions"
method: GET
path: "/projects/{projectId}/files/{fileId}/revisions"
tags: ["Source Files"]
---

# List File Revisions

`GET /projects/{projectId}/files/{fileId}/revisions`

## Request

- Base URL: `https://api.crowdin.com/api/v2`
- URL: `https://api.crowdin.com/api/v2/projects/{projectId}/files/{fileId}/revisions`
- Auth: none declared
- TypeScript: <https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/docs/projects/:projectId/files/:fileId/revisions/get.ts> (a function with typed inputs; its response is checked against the schema)

**Required scopes:** `project.source.file` (Read only).

## Path parameters

- `projectId` integer, required
- `fileId` integer, required

## Query parameters

- `limit` integer
- `offset` integer

## Response `200`

File revisions list

- RevisionCollectionResource: Base schema of resource container. Container is a wrapper object that contains payload in required `data` property and provides space for adding any other metadata.
  - `data` RevisionResource[], required
    - `data` Revision, required
      - `id` integer
      - `projectId` integer
      - `fileId` integer
      - `restoreToRevision` integer, nullable
      - `date` string, date-time
  - `pagination` Pagination: Pagination Response Model
    - `offset` integer
    - `limit` integer

## Other responses

- `400`: Invalid Request Parameters
- `401`: Unauthorized
- `403`: Forbidden
- `405`: Method Not Allowed

---

[API](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2.md) - [All operations](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/llms.txt) - [OpenAPI document](https://skmtc.dev/crowdin/apis/crowdin-enterprise-api-v2/revisions/dc68744c5384?raw)
