---
title: "Get composer build updates for an environment"
method: GET
path: "/v0/sites/{site_id}/environments/{env_id}/build/updates"
tags: ["sites"]
---

# Get composer build updates for an environment

`GET /v0/sites/{site_id}/environments/{env_id}/build/updates`

Returns the list of composer dependencies that have been added, updated, or removed.

## Path parameters

- `site_id` string, required
- `env_id` string, required

## Response `200`

- BuildUpdates — BuildUpdates represents composer dependency updates for an environment
  - `added_dependencies` string[], required — Dependencies that have been added
  - `removed_dependencies` string[], required — Dependencies that have been removed
  - `updated_dependencies` string[], required — Dependencies that have been updated

## Other responses

- `400` — Bad Request
- `401` — Unauthorized
- `403` — Forbidden
- `404` — Not Found
- `500` — Internal Server Error
- `503` — Service Unavailable

---

[API](https://skmtc.net/pantheon/apis/pantheon-public-api-service.md) · [All operations](https://skmtc.net/pantheon/apis/pantheon-public-api-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/pantheon/pantheon-public-api-service/revisions/94758829689e/schema)
