Initiate upload
Initiate a resumable upload by registering an H&E slide’s filename, size, and content type, and receive a signed GCS URL to PUT the slide bytes to.
Authorizations
Bearer authentication header of the form Bearer <token>, where <token> is your auth token.
Body
Optional client-computed SHA-256. On a match within the calling organization, the response returns the existing upload and skips byte transfer.
^[0-9a-f]{64}$Opt out of automatic cell segmentation for this upload. Defaults to the organization's autoSegmentDefault (true unless changed). When false, the slide is ingested and rendered but no segmentation job runs; marker runs still work but without cell-level readouts until segmented.
Optional user-reported microns per pixel, for callers that already know their slide's scale. Slides are isotropic: pass a number, or an { x, y } object whose axes are equal (anisotropic input is rejected). Persisted on the sample at creation and takes precedence over the slide's own calibrated value, so POST /predict works as soon as preprocessing finishes — no follow-up PATCH /samples/{id} needed. Ignored when contentSha256 deduplicates to an existing sample (that sample's scale stands).
0 < x <= 100