builds

Trigger Build

Trigger an environment build from a previously uploaded build context.

post/v2/builds/trigger

Request body

source'direct' required
registry_idstring uuid nullable
build_idstring uuid nullable
namestring nullable
project_idstring uuid nullable
environment_variablesobject
build_secretsobject
runtime_provider'hud' | 'modal' nullable
entry_folderstring nullable
build_argsobject nullable
no_cacheboolean

Bypass persistent cache inputs and whole-build reuse while still exporting fresh cache state.

Response

Successful Response

idstring uuid required
registry_idstring uuid required
statusstring required
sdk_generationstring required
versioninteger nullable
uristring nullable
image_namestring nullable
digeststring nullable
duration_secondsinteger nullable
error_messagestring nullable
runtime_configobject nullable
source_index_status'pending' | 'indexing' | 'ready' | 'failed' | 'unavailable' required
source_index_errorstring nullable
source_index_started_atstring date-time nullable
source_indexed_atstring date-time nullable
created_atstring date-time required
updated_atstring date-time nullable
branchstring nullable
github_urlstring nullable
user_namestring nullable
scenario_countinteger nullable

Changes

No recorded changes to this endpoint across all 1 revision of this API.