# Get branch file draft

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

Return branch file draft. 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      |                                                            |

## Responses

| Status | Description                         |
| ------ | ----------------------------------- |
| 200    | Draft content with navigation links |
| 400    | Missing file path                   |
| 401    | Unauthorized                        |
| 403    | Restricted server-function source   |
| 404    | Not found                           |
| 500    | Server error                        |
