/v1/files/completeMultipartUpload
—
post

Complete a multipart upload by assembling all uploaded parts into a single file

Path Parameters
Not Applicable
Request Headers
HttpEndpointRequestHeaders_AuthRequired_JsonContentType

FieldTypeRequiredDescription
AuthorizationstringYes

Access token

Example: Bearer <token>

Content-TypestringYes

HTTP JSON request content type

Example: application/json

Request Query
Not Applicable
Request Body
CompleteMultipartUploadEndpointParams

Parameters for completing a multipart upload by specifying all uploaded parts

{
filepath?: string
fileId?: string
clientMultipartId: string
parts: Array<CompleteMultipartUploadInputPart>
}
CompleteMultipartUploadInputPart

Part information for completing multipart upload

{
part: number
}
200 — Response Headers
HttpEndpointResponseHeaders_ContentType_ContentLength

FieldTypeRequiredDescription
Content-TypestringYes

HTTP JSON response content type

Example: application/json

Content-LengthstringYes

HTTP response content length in bytes

Example: 1024

200 — Response Body
CompleteMultipartUploadEndpointResult

Response containing the completed file and optional job information

{
file: File
jobId?: string
}
File

File resource with metadata and location information

{
resourceId: string
createdBy: Agent
createdAt: number
lastUpdatedBy: Agent
lastUpdatedAt: number
isDeleted: boolean
deletedAt?: number
deletedBy?: Agent
workspaceId: string
size: number
ext?: string
parentId: string | null
idPath: Array<string>
namepath: Array<string>
mimetype?: string
encoding?: string
name: string
description?: string
version: number
imageWidth?: number
imageHeight?: number
imageDimensionsStatus?: string
aspectRatio?: number
aspectRatioLabel?: string
read: ResourceAvailability
write: ResourceAvailability
}
Agent

Represents a user or system entity that performed an action (e.g., created or updated a resource)

{
agentId: string
agentType: string
}
ResourceAvailability

Whether a read or write operation is available on a file or part, including whether it is available for the current requester

{
available: boolean
availableForYou: boolean
lockedBy?: string
}
4XX or 5XX — Response Headers
HttpEndpointResponseHeaders_ContentType_ContentLength

FieldTypeRequiredDescription
Content-TypestringYes

HTTP JSON response content type

Example: application/json

Content-LengthstringYes

HTTP response content length in bytes

4XX or 5XX — Response Body
EndpointErrorResult

Endpoint error result

{
errors?: Array<ExternalError>
}
ExternalError

{
message: string
}