Skip to main content
POST
Upload an image (single request)

Authorizations

Authorization
string
header
required

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

Headers

Image-Id
string | null

Optional id of a pre-created image row to attach this file to. Omit it to have the record created automatically from the uploaded file.

Response

Successful Response

Result of a single-request upload: the image record the pixels landed on. Conversion happens in-request, so image.upload_status is already ready — no polling needed before running a prediction.

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