Create a new build

post/v0/builds

Request body

projectstring required

Project name

branchstring

The Stainless branch to use for the build. If not specified, the branch is inferred from the revision, and will 400 when that is not possible.

targetsTarget[]

Optional list of SDK targets to build. If not specified, all configured targets will be built.

commit_messagestring

Optional commit message to use when creating a new commit.

allow_emptyboolean

Whether to allow empty commits (no changes). Defaults to false.

Response

success

object'build' required
idstring required
updated_atstring date-time required
created_atstring date-time required
projectstring required
orgstring required
config_commitstring required

Changes