# List branch file versions

```http
GET /projects/{project_reference}/branches/{branchName}/files/{filePath}/versions
```

List branch file versions. Requires project.read.

## Parameters

| Name                | In    | Required | Description                                                               |
| ------------------- | ----- | -------- | ------------------------------------------------------------------------- |
| `project_reference` | path  | Yes      | Project slug, UUID, or domain that identifies the project.                |
| `branchName`        | path  | Yes      |                                                                           |
| `filePath`          | path  | Yes      |                                                                           |
| `cursor`            | query |          |                                                                           |
| `limit`             | query |          | Maximum number of entries to return. Defaults to 20 and is capped at 100. |

## Responses

| Status | Description                                      |
| ------ | ------------------------------------------------ |
| 200    | Paginated list of branch file versions.          |
| 400    | Invalid branch file history cursor or page size. |
| 401    | Unauthorized                                     |
| 403    | Forbidden                                        |
| 404    | Not found                                        |
| 500    | Server error                                     |
