# List branches

```http
GET /projects/{project_reference}/branches
```

List the branches of a project, including its root branch. Requires project.read.

## Parameters

| Name                | In    | Required | Description |
| ------------------- | ----- | -------- | ----------- |
| `project_reference` | path  | Yes      |             |
| `limit`             | query |          |             |
| `cursor`            | query |          |             |
| `search`            | query |          |             |
| `status`            | query |          |             |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 200    | List of branches.                                                                                           |
| 400    | Bad request                                                                                                 |
| 401    | Unauthorized                                                                                                |
| 403    | Forbidden                                                                                                   |
| 404    | Not found                                                                                                   |
| 500    | Server error                                                                                                |
| 503    | internal: authentication state is temporarily unavailable and the request was not processed; retry shortly. |
