Create Artifact Build
POST
/artifact-builds/Request body
application/jsonSee the request guidance below for a valid body.
Handler-checked behavior
Upload the build context first and use its returned digest as contextDigest; artifactVersionId must identify a saved artifact version. Required fields are id, artifactVersionId, contextDigest, recipeDigest, and cacheKey. An existing cache key returns that build with 200 OK; a new specification returns 201 Created. Creating a specification does not start a build run. See Build an executable for the simpler Docker-image path.
Related guide
See the Artifacts guide for related tasks and context.