# Get branch file version

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

Return branch file version. 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      |                                                                                             |
| `version_id`        | path | Yes      | Committed version UUID or newest-first index 0–99; zero is the newest branch-aware version. |

## Responses

| Status | Description                                                           |
| ------ | --------------------------------------------------------------------- |
| 200    | Branch file version content with metadata.                            |
| 400    | Invalid version reference; provide a UUID or newest-first index 0–99. |
| 401    | Unauthorized                                                          |
| 403    | Forbidden                                                             |
| 404    | Not found                                                             |
| 500    | Server error                                                          |
