---
title: "Upload one chunk of a build context: at most 1 MiB, named by its SHA-256."
method: PUT
path: "/v1/images/context/{digest}"
tags: ["images"]
---

# Upload one chunk of a build context: at most 1 MiB, named by its SHA-256.

`PUT /v1/images/context/{digest}`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/images/context/{digest}`
- Auth: HTTP bearer

## Path parameters

- `digest` string, required

## Headers

- `Idempotency-Key` string

## Response `200`

Success

- object
  - `sha256` string, required
  - `size` integer, required
  - `stored` boolean, required

## Other responses

- `default`: Error

---

[API](https://skmtc.dev/withruntime/apis/runtime-cloud-api.md) · [All operations](https://skmtc.dev/withruntime/apis/runtime-cloud-api/llms.txt) · [OpenAPI document](https://skmtc.dev/withruntime/apis/runtime-cloud-api/revisions/6f4012286988?raw)
