---
# @generated by sylphx-gen. Do not edit.
title: "Build attempts"
description: "The `build_attempts` collection of Sylphx Release: A BuildAttempt is a read-only observation of a native service build for an environment and source commit."
type: reference
product: platform
summary: "A BuildAttempt is a read-only observation of a native service build for an environment and source commit."
updated: 2026-09-28
order: 900
---

A BuildAttempt is a read-only observation of a native service build for an environment and source commit. It does not imply that a Release exists.

**Service** Sylphx Release · **Resource type** `release.sylphx.com/BuildAttempt` · **Name pattern** `orgs/{org}/projects/{project}/envs/{env}/build_attempts/{build_attempt}` · **Shape** `record`

## Fields

| Field | Type | What it is |
| --- | --- | --- |
| `name` | `string` | The attempt's name. Only listing is supported. |
| `uid` | `string` | Stable identity of this attempt. Output only. |
| `meta` | `ResourceMeta` | The time the build was recorded, before it necessarily began running. Output only. |
| `service_slug` | `string` | The project service slug, when still available. Output only. |
| `commit` | `string` | The intended source commit for this attempt, even before source capture. Output only. |
| `state` | `BuildAttemptState` | The recorded build state, independent of Release admission or serving. Output only. One of `queued`, `building`, `succeeded`, `failed`, `cancelled`. |
| `start_time` | `timestamp` | When the build was marked started, if recorded. Output only. |
| `end_time` | `timestamp` | When the build finished or was cancelled, if recorded. Output only. |
| `reason` | `BuildAttemptReason` | Finite terminal reason; absent while active or after a successful build. Output only. One of `build_failed`, `preparation_failed`, `export_failed`, `smoke_test_failed`, `cancelled`, `superseded`. |
| `service_id` | `string` | Stable project service ID, absent on older project-level attempts. Output only. |

## Methods

Every method of the collection, in the registry's order, with the scope it
needs. The full request, response and examples are one link away.

| Method | Call | What it does |
| --- | --- | --- |
| `GET` | [`list`](/docs/api/build_attempts#list) | Lists the latest native build attempt per service for one exact commit, newest first. Use this to follow a push even before a Release exists. An empty result means no matching attempts were observed. An unreadable store returns an error. This does not list standalone Build runs. |

## list

Lists the latest native build attempt per service for one exact commit, newest first. Use this to follow a push even before a Release exists. An empty result means no matching attempts were observed. An unreadable store returns an error. This does not list standalone Build runs.

`GET https://api.sylphx.com/v1/orgs/acme/projects/shop/envs/production/build_attempts` · scope `release:read` · effect `read` · paginated · [Request, response and examples](/docs/api/build_attempts/list)
