Skip to main content
Artifacts endpoint

Save Build Context

POST/build-contexts/

Request body

multipart/form-data

See the request guidance below for a valid body.

Upload a context archive as multipart field context. The JSON alternative records metadata only for bytes already in the artifact store.

Handler-checked behavior​

To upload bytes, send multipart form data with file field context. The JSON form only records metadata for bytes already in the artifact store; it requires digest, storageUri, and positive sizeBytes. A browser-local path is not a server build context.

See the Artifacts guide for related tasks and context.