Skip to main content
POST
Upload an image

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Body

Send the whole file in one request. The response returns the image already ready.

file
file
required

The microscopy image to upload (TIFF). Up to 4 GB.

Response

The file was stored (upload is null, the image is ready), or a resumable upload was opened (upload carries the presigned plan).

The image the pixels landed on (or will land on).

After a single-request upload upload is null and image.upload_status is already ready — the image.id can go straight into POST /predict. After a resumable upload was opened, upload carries the presigned plan and image.upload_status is uploading until you complete it.

image
ImageStatusResponse · object
required

An image's upload lifecycle and metadata — enough to know when a freshly uploaded image is ready to run a prediction against.

Example:
success
boolean
default:true
upload
UploadPlan · object | null

The presigned multipart plan: PUT each chunk of the file to its url (in part order), then call POST /upload/{image_id}/complete — no body needed, the server verifies the uploaded parts with storage directly.

The internal storage object key is deliberately not exposed: the presigned urls already encode everything the client needs, and the key layout is a server-side implementation detail we keep off the public contract.

Example: