# Check branch merge eligibility

```http
GET /projects/{project_reference}/branches/{branch_id}/merge-eligibility
```

Check policies, approvals and status checks to say whether a branch can merge now. Requires project.read.

## Parameters

| Name                | In   | Required | Description                                                |
| ------------------- | ---- | -------- | ---------------------------------------------------------- |
| `project_reference` | path | Yes      | Project slug, UUID, or domain that identifies the project. |
| `branch_id`         | path | Yes      |                                                            |

## Responses

| Status | Description                                                                                                 |
| ------ | ----------------------------------------------------------------------------------------------------------- |
| 200    | Merge eligibility result. A branch that cannot merge is a result with blockers, not an error.               |
| 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. |
