---
title: "List builds"
method: GET
path: "/api/v1alpha/builds"
tags: ["Builds"]
---

# List builds

`GET /api/v1alpha/builds`

Get a list of CI builds

## Query parameters

- `limit` integer
- `status` 'pending' | 'running' | 'success' | 'failure' | 'error'

## Response `200`

List of builds retrieved successfully

- BuildStatus[]
  - `id` string — Build identifier
  - `status` 'pending' | 'running' | 'success' | 'failure' | 'error' — Current status of the build
  - `start_time` string, date-time — Build start time
  - `end_time` string, date-time, nullable — Build end time
  - `source` object
    - `branch` string — Git branch name
    - `sha` string — Git commit SHA
    - `repo` string — Git repository name

## Other responses

- `401` — Unauthorized
- `403` — Forbidden - requires developer privileges

---

[API](https://skmtc.net/hail-is/apis/hail-ci-service.md) · [All operations](https://skmtc.net/hail-is/apis/hail-ci-service/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/hail-is/hail-ci-service/versions/37d6dddb7b5a/schema)
