Skip to main content
GET
Get Upload

Authorizations

Authorization
string
header
required

API key from Settings > Developer > REST API

Path Parameters

machine
string
required
upload_id
string
required

Response

Successful Response

upload_id
string
required

The upload id from POST …/files/upload.

state
enum<string>
required

pending (parts arriving, or ready to complete), committing, committed (on the machine) or failed (aborted, or the bytes did not match: upload again).

Available options:
pending,
committing,
committed,
failed
size
integer
required

Size in bytes.

sha256
string
required

The SHA-256 of the content, lowercase hex.

part_size
integer
required

The part size in bytes (the last part is shorter).

parts
integer
required

How many parts the file has.

uploaded_parts
integer[]
required

The part numbers the bucket holds.

expires_at
string | null
required

When the link expires.

error
MachineUploadError · object | null

Why it failed, when it failed.