---
title: "List current Factory Environment build statuses"
method: GET
path: "/api/v0/environments/build-statuses"
tags: ["Environments"]
---

# List current Factory Environment build statuses

`GET /api/v0/environments/build-statuses`

## Request

- Base URL: `https://api.factory.ai`
- URL: `https://api.factory.ai/api/v0/environments/build-statuses`
- Auth: HTTP bearer

## Query parameters

- `environmentIds` string[], required
- `serviceAccountId` string

## Headers

- `X-Factory-Org-Id` string

## Response `200`

Response for status 200

- ListEnvironmentBuildStatuses200ResponseBody
  - `builds` object[], required
    - `environmentId` string, required
    - `environmentStatus` 'building' | 'ready' | 'failed', required
    - `latestBuild` object, required
      - `id` string, required
      - `status` 'queued' | 'building' | 'validating' | 'succeeded' | 'failed' | 'superseded', required
      - `excerpt` string
      - `truncated` boolean, required
      - `withheld` boolean, required

## Other responses

- `400`: Response for status 400
- `401`: Response for status 401
- `402`: Response for status 402
- `403`: Response for status 403
- `404`: Response for status 404
- `451`: Response for status 451
- `500`: Response for status 500
- `503`: Response for status 503

## Changes

- **2026-11-14** `9fb2e1b1ec61`: 1 info
  - added the non-success response with the status `404`
- **2026-11-12** `b6a46c415079`: 4 breaking, 1 warning, 22 info
  - the response's body type changed from `object` to no type for status `400`
  - removed the required property `detail` from the response with the `400` status
  - removed the required property `status` from the response with the `400` status
  - removed the required property `title` from the response with the `400` status
  - …23 more
- **2026-10-13** `dd43fbb08a00`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/factory/apis/factory-public-api/changes/api/v0/environments/build-statuses/get.md)

---

[API](https://skmtc.dev/factory/apis/factory-public-api.md) - [All operations](https://skmtc.dev/factory/apis/factory-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/factory/apis/factory-public-api/revisions/2e37e1b079d2?raw)
