# Get dependency history

```http
GET /projects/{project_reference}/dependencies/history
```

Return dependency history. Requires project.files.read.

## Parameters

| Name                | In    | Required | Description                                                                          |
| ------------------- | ----- | -------- | ------------------------------------------------------------------------------------ |
| `project_reference` | path  | Yes      |                                                                                      |
| `branch`            | query |          | Branch name or UUID, 1–255 characters without surrounding whitespace. Omit for main. |

## Responses

| Status | Description                                         |
| ------ | --------------------------------------------------- |
| 200    | Dependency history.                                 |
| 400    | Invalid branch reference                            |
| 401    | Unauthorized                                        |
| 403    | Forbidden — project.files.read capability required  |
| 404    | Project or branch not found                         |
| 413    | Dependency history exceeds the 1 MiB response limit |
| 500    | Server error                                        |
