---
title: "Gets a remaining upload part for a multipart file upload."
method: GET
path: "/v2/accounts/{accountId}/uploads/{uploadId}/parts/{uploadPartIndex}"
tags: ["Upload"]
---

# Gets a remaining upload part for a multipart file upload.

`GET /v2/accounts/{accountId}/uploads/{uploadId}/parts/{uploadPartIndex}`

## Request

- Base URL: `https://api.bytescale.com`
- URL: `https://api.bytescale.com/v2/accounts/{accountId}/uploads/{uploadId}/parts/{uploadPartIndex}`
- Auth: API key in header `Authorization`
- TypeScript: <https://skmtc.dev/bytescale/apis/bytescale-api/docs/v2/accounts/:accountId/uploads/:uploadId/parts/:uploadPartIndex/get.ts> (a function with typed inputs; its response is checked against the schema)

Gets a remaining upload part for a multipart file upload.

## Path parameters

- `accountId` string, required: Your account ID. This is visible on the settings page: https://www.bytescale.com/dashboard/settings
- `uploadId` string, required: The ID for the multipart file upload.
- `uploadPartIndex` integer, required: Index of an uploadable file part. Can be used as the `uploadPartIndex` parameter in the GetUploadPart and CompleteUploadPart operations.

## Response `200`

Success.

- UploadPart: Represents a part of a file to be uploaded as part of a multipart file upload. Specifies the 'range' of the file that needs uploading, together with an 'uploadUrl' of where to PUT those bytes to. The PUT request to the `uploadUrl` will return an etag response header, which must be provided in a subsequent CompleteUploadPart request. See: basic file uploads, multipart file uploads.
  - `range` UploadPartRange, required: Specifies the range in the file the UploadPart represents.
    - `inclusiveEnd` integer, required: Position in the file the last byte of this part corresponds to. Value is -1 when the part is empty (i.e. for uploading empty files).
    - `inclusiveStart` integer, required: Position in the file the first byte of this part corresponds to.
  - `uploadId` string, required: The ID for the multipart file upload.
  - `uploadPartIndex` integer, required: Index of an uploadable file part. Can be used as the `uploadPartIndex` parameter in the GetUploadPart and CompleteUploadPart operations.
  - `uploadUrl` string, required: Pre-signed upload URL for this part. You are required to issue a `PUT` to this URL, with the file's bytes as the request body (limited to the range indicated by this upload part). The `PUT` request will return an `etag` response header, which must be provided in a subsequent CompleteUploadPart request.

## Other responses

- `401`: Unauthenticated.
- `403`: Unauthorized.
- `404`: File or upload part not found.

---

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