---
title: "Finalize the upload process for a large file."
method: POST
path: "/documents/v1/files_large/{presigned_id}"
tags: ["files"]
---

# Finalize the upload process for a large file.

`POST /documents/v1/files_large/{presigned_id}`

This endpoint is the last step in the upload process. It verifies the file
and updates the database with the file information.

This endpoint is called after the file has been uploaded to the presigned
URL.

The expected id argument is the one returned from the upload_large_file_init
endpoint.

## Path parameters

- `presigned_id` string, required

## Response `200`

Response with the permanent File ID

- UploadFileResponse
  - `id` string, required

## Other responses

- `400` — Invalid request
- `401` — Unauthorized. Invalid or missing credentials
- `403` — Forbidden. You do not have permission to access this resource
- `500` — Internal server error

---

[API](https://skmtc.net/tensorlakeai/apis/tensorlake-api.md) · [All operations](https://skmtc.net/tensorlakeai/apis/tensorlake-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/tensorlakeai/tensorlake-api/versions/fb161f7c0ab7/schema)
