---
title: "Finish a folder upload: answers once tar has unpacked it all."
method: POST
path: "/v1/sandboxes/{id}/files/archive/uploads/{uploadId}:commit"
tags: ["files"]
---

# Finish a folder upload: answers once tar has unpacked it all.

`POST /v1/sandboxes/{id}/files/archive/uploads/{uploadId}:commit`

## Request

- Base URL: `https://api.withruntime.com`
- URL: `https://api.withruntime.com/v1/sandboxes/{id}/files/archive/uploads/{uploadId}:commit`
- Auth: HTTP bearer

A commit repeated after it succeeded answers the same, while the sandbox still holds the finished tar (its last 16 processes).

## Path parameters

- `id` string, required: Resource identifier (UUID).
- `uploadId` string, required: The uploadId begin returned.

## Headers

- `Idempotency-Key` string

## Response `200`

Success

- object
  - `path` string, required
  - `received` integer, required: Bytes of archive unpacked.

## 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)
