Skip to content
Ordinal
Esc
↑↓navigate↵open⌘Jpreview

Get upload status

Returns the current status and metadata of an upload. Poll this endpoint until status is ‘ready’, then use the returned assetId when creating posts.

GET/uploads/{id}
Authorization
AuthorizationBearer token · headerrequired

API key authentication. Generate an API key from your workspace settings.

Path parameters
idstring<uuid>required

Upload job ID (UUID)

Responses
200

Upload status and metadata. Response shape depends on status.

One of:
UploadAwaitingUpload
idstring<uuid>
statusstring
Allowed:awaiting_upload
createdAtstring<date-time>
UploadPending
idstring<uuid>
statusstring
Allowed:pending
createdAtstring<date-time>
UploadProcessing
idstring<uuid>
statusstring
Allowed:processing
createdAtstring<date-time>
UploadReady
idstring<uuid>
statusstring
Allowed:ready
assetIdstring<uuid>

Asset ID to use when creating posts with attachments

filenamestring

Original filename of the uploaded file

mimetypestring

MIME type of the file (e.g., image/jpeg, video/mp4)

sizeinteger

File size in bytes

widthinteger | null

Width in pixels for images and videos

heightinteger | null

Height in pixels for images and videos

durationnumber | null

Duration in seconds for videos

expiresAtstring<date-time>

When the upload will expire if not used

createdAtstring<date-time>
readyAtstring<date-time>

When the upload finished processing

UploadFailed
idstring<uuid>
statusstring
Allowed:failed
errorstring

Error message describing why the upload failed

createdAtstring<date-time>
UploadExpired
idstring<uuid>
statusstring
Allowed:expired
expiredAtstring<date-time>

When the upload expired

createdAtstring<date-time>
401

Unauthorized - Missing or invalid API key

codestring
messagestring
404

Not Found - Resource does not exist

codestring
messagestring
Try it
Server
Authorization
Parameters
Request
curl -X GET 'https://app.tryordinal.com/api/v1/uploads/497f6eca-6276-4993-bfeb-53cbbbba6f08' \
  -H 'Authorization: Bearer YOUR_TOKEN'
Response
{
  "id": "550e8400-e29b-41d4-a716-446655440000",
  "status": "awaiting_upload",
  "createdAt": "2026-02-04T10:30:00.000Z"
}