---
title: "Finalize Dataset Upload"
method: POST
path: "/s3/finalizeDatasetUpload"
tags: ["s3upload"]
---

# Finalize Dataset Upload

`POST /s3/finalizeDatasetUpload`

## Request

- Base URL: `/` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/s3/finalizeDatasetUpload`
- Auth: HTTP bearer

## Request body

- FinalizeDatasetUploadBody
  - `dataset_id` string, required
  - `create_archiving_job` boolean, required
  - `owner_group` string, required
  - `owner_user` string, required
  - `contact_email` string, email, required

## Response `201`

Finalize dataset upload requested

- FinalizeDatasetUploadResp
  - `dataset_id` string, required
  - `message` string, required

## Other responses

- `422`: Validation Error
- `500`: Internal Server Error

## Changes

> 17 revisions in range; 4 not diffed.

- **2025-11-21** `527aef2c43cd`: 1 breaking, 1 warning
  - added the new required request property `dataset_id`
  - removed the request property `dataset_pid`
- **2025-10-28** `fe11b70c6405`: 7 breaking, 5 warning, 2 info
  - added the new required request property `contact_email`
  - added the new required request property `create_archiving_job`
  - added the new required request property `dataset_pid`
  - added the new required request property `owner_group`
  - …10 more
- **2025-05-12** `0dc20e32d5f4`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/swissopenem/apis/ethz-archiver-service/changes/s3/finalizeDatasetUpload/post.md)

---

[API](https://skmtc.dev/swissopenem/apis/ethz-archiver-service.md) - [All operations](https://skmtc.dev/swissopenem/apis/ethz-archiver-service/llms.txt) - [OpenAPI document](https://skmtc.dev/swissopenem/apis/ethz-archiver-service/revisions/527aef2c43cd?raw)
