---
title: "Complete a multipart upload"
method: POST
path: "/bus/multipart/complete"
tags: ["bus"]
---

# Complete a multipart upload

`POST /bus/multipart/complete`

Completes a multipart upload by combining all uploaded parts into a single object.

## Request body

- object
  - `bucket` string — The name of the bucket.
  - `key` string
  - `uploadID` string, byte — The ID of the multipart upload
  - `parts` MultipartCompletedPart[]
    - `partNumber` integer — The number of this part
    - `eTag` string — An ETag representing a resource
  - `metadata` ObjectUserMetadata — User-defined metadata about an object provided through X-Sia-Meta- headers

## Response `200`

Successfully completed multipart upload

- object
  - `eTag` string — The ETag of the completed object

## Other responses

- `500` — Internal server error

## Changes

- **2025-01-23** `c38282599c5a` — 2 warning
  - the `parts/items/partNumber` request property's max was set to `10000.00`
  - the `parts/items/partNumber` request property's min was set to `1.00`
- **2024-12-18** `922f156353c9` — 1 breaking, 1 info
  - removed the media type `text/plain` for the response with the status `500`
  - api tag `bus` added
- **2024-12-17** `2c14cf218671` — 1 breaking
  - added the pattern `^(W/)?".*?"$` to the request property `parts/items/eTag`
- **2024-12-17** `a3a866454789` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api path removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/bus/multipart/complete/post.md)

---

[API](https://skmtc.dev/siafoundation/apis/renterd-api.md) · [All operations](https://skmtc.dev/siafoundation/apis/renterd-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/siafoundation/renterd-api/revisions/184a3d5207da/schema)
