Skip to content
Console
On this page

Build attempts

A BuildAttempt is a read-only observation of a native service build for an environment and source commit.

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

FieldTypeWhat it is
namestringThe attempt's name. Only listing is supported.
uidstringStable identity of this attempt. Output only.
metaResourceMetaThe time the build was recorded, before it necessarily began running. Output only.
service_slugstringThe project service slug, when still available. Output only.
commitstringThe intended source commit for this attempt, even before source capture. Output only.
stateBuildAttemptStateThe recorded build state, independent of Release admission or serving. Output only. One of queued, building, succeeded, failed, cancelled.
start_timetimestampWhen the build was marked started, if recorded. Output only.
end_timetimestampWhen the build finished or was cancelled, if recorded. Output only.
reasonBuildAttemptReasonFinite 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_idstringStable 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.

MethodCallWhat it does
GETlistLists 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