---
title: "Upload an object"
method: PUT
path: "/worker/object/{key}"
---

# Upload an object

`PUT /worker/object/{key}`

Uploads an object to the Sia network.

## Path parameters

- `key` string, required

## Query parameters

- `bucket` string, required — The name of the bucket.
- `minshards` integer
- `totalshards` integer
- `mimetype` string

## Response `200`

Successfully uploaded object

## Other responses

- `400` — Invalid combination of request parameters
- `404` — Bucket not found
- `503` — Consensus isn't synced

## Changes

- **2024-12-09** `2700783521b0` — 1 info
  - endpoint added
- **2024-12-09** `f062c35d8f47` — 1 breaking
  - api removed without deprecation

[Change history](https://skmtc.dev/siafoundation/apis/renterd-api/changes/worker/object/:key/put.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/e8ca82ef1fcf/schema)
