---
title: "Latest build/compile status for a branch (production build or dev-mode)"
method: GET
path: "/api/v1/deployments/{deploymentId}/build-status"
tags: ["Deployments"]
---

# Latest build/compile status for a branch (production build or dev-mode)

`GET /api/v1/deployments/{deploymentId}/build-status`

## Path parameters

- `deploymentId` integer, required

## Query parameters

- `branchName` string, nullable

## Response `200`

- BuildStatusResponse
  - `branchName` string, required
  - `buildJobId` integer, nullable
  - `deploymentId` integer, required
  - `deploymentStatus` string, nullable
  - `errorText` string, nullable
  - `filesHash` string, nullable
  - `lastHash` string, nullable
  - `mode` string, required
  - `status` string, required
  - `updatedAt` string, nullable

---

[API](https://skmtc.net/cube-js/apis/cube-cloud-rest-api.md) · [All operations](https://skmtc.net/cube-js/apis/cube-cloud-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/cube-js/cube-cloud-rest-api/revisions/a0c6b1d2ac96/schema)
