Skip to main content
GET
Get upload status

Authorizations

x-api-key
string
header
required

ROOTKey API key. A test key works on your organization's test data and a live key on its live data; both are used with the same API.

Headers

X-RootKey-Organization
string

The organization a personal access token acts in: the id of one of the organizations that GET /organizations lists. Required with a personal access token on every endpoint that works inside an organization; without it the request gets organization_header_required. Ignored with an API key, which belongs to exactly one organization.

x-test-mode
enum<string>
default:false

Whether a personal access token works on live data (false, the default) or on test data (true). Only this header decides, never a query string or a body field. An API key is itself a test or a live key and works on that data.

Available options:
true,
false

Path Parameters

uploadId
string
required

The uploadId returned by Start an upload.

Pattern: ^upl_[0-9a-f]{32}$
Example:

"upl_3f2b8c1e5a7d4e9b9c2a1d6e8f0a4b7c"

Response

The upload.

uploadId
string
fileId
string
status
enum<string>

PENDING: waiting for the bytes or for you to complete it. VERIFYING: a multipart upload being checked. FINALIZING: being anchored. COMPLETED: the file exists. FAILED: see failureCode. EXPIRED, ABORTED: ended without a file.

Available options:
PENDING,
VERIFYING,
FINALIZING,
COMPLETED,
FAILED,
EXPIRED,
ABORTED
mode
enum<string>
Available options:
single,
multipart
size
integer

The declared size in bytes.

expiresAt
string<date-time>
chainId
integer

Once COMPLETED.

transactionHash
string

Once COMPLETED.

failureCode
string

When FAILED: the errorCode that explains why, such as file_upload_checksum_mismatch.