---
title: "Upload one part of a chunked Library upload"
method: PUT
path: "/workspaces/{workspaceId}/library/chunked/{uploadId}/parts/{partNumber}"
tags: ["Library"]
---

# Upload one part of a chunked Library upload

`PUT /workspaces/{workspaceId}/library/chunked/{uploadId}/parts/{partNumber}`

## Request

- Base URL: `https://api.rendley.com/v1`
- URL: `https://api.rendley.com/v1/workspaces/{workspaceId}/library/chunked/{uploadId}/parts/{partNumber}`
- Auth: API key in header `Authorization`

Raw part bytes as the request body. Parts must be sent strictly in order (409 CHUNK_OUT_OF_ORDER carries the expected part number); only the final part may be under the minimum part size. Content-Length is required.

## Path parameters

- `workspaceId` string, required
- `uploadId` string, required
- `partNumber` integer, required

## Response `200`

OK

- object
  - `data` object: Success data
    - `asset` TypesLibraryUpload
      - `created_at` string
      - `deduplicated` boolean: Deduplicated marks a proxy-upload response that resolved to an existing asset with identical content instead of storing a second copy.
      - `download_url` string: DownloadUrl is a presigned GET that forces a browser download (Content-Disposition: attachment) under the original filename. Expires like Url.
      - `duration` number
      - `file_hash` string
      - `file_size` integer
      - `id` string
      - `media_id` string: MediaID is the upload's storage_key; clients reuse it as the editor media id when bridging a library asset into a project, so ids stay stable.
      - `mime_type` string
      - `original_file_name` string
      - `source` string
      - `status` 'uploading' | 'importing' | 'complete' | 'failed'
      - `tags` string[]
      - `thumbnail_url` string: ThumbnailUrl is a presigned GET for the server-generated poster (video first frame / GIF still). Empty when none exists. Expires like Url.
      - `url` string: Url is a presigned GET for the asset bytes. Expires — never persist it.
      - `workspace_id` string
    - `next_part` integer
    - `project_upload` TypesUpload
      - `duration` number
      - `error` string: Error says why a failed upload failed.
      - `file_hash` string
      - `media_id` string: MediaID is the upload's storage_key — the library media id the client should reuse when injecting a pending upload, so ids stay stable across backend and editor.
      - `mime_type` string
      - `original_file_name` string
      - `role` string
      - `status` string
      - `storage_url` string
    - `received_bytes` integer
  - `error` HttpResponseAPIError
    - `code` string
    - `fields` HttpResponseFieldError[]
      - `field` string
      - `message` string
    - `message` string
  - `meta` unknown

## Other responses

- `400`: Bad Request
- `401`: Unauthorized
- `409`: Conflict
- `413`: Request Entity Too Large

---

[API](https://skmtc.dev/rendley/apis/rendley-api.md) - [All operations](https://skmtc.dev/rendley/apis/rendley-api/llms.txt) - [OpenAPI document](https://skmtc.dev/rendley/apis/rendley-api/revisions/7eb8713bbf78?raw)
