OCR Blood Result Upload

Submit PDF, JPEG, or PNG blood result documents through BRU so InsideTracker can extract biomarker data for downstream outputs.

OCR Blood Result Upload

OCR blood result upload lets you submit existing blood result documents, such as lab PDFs, scans, screenshots, or photos of printed reports, through Blood Result Upload. InsideTracker processes those files asynchronously and converts extracted biomarker values into structured data that can support downstream outputs.

Use the Blood Result Upload guide for the file upload, process submission, status, and webhook mechanics. Use this page for OCR-specific input expectations and User-experience guidance.

Accept documents

Let Users provide existing blood result PDFs or images.

Process by OCR

InsideTracker extracts biomarker data from the submitted documents.

Update status

Use BRU status or terminal webhook events to update the User's experience.

Where This Fits

Use OCR when a User has existing blood result documents and your integration wants InsideTracker to extract the biomarker values from those documents.

You already haveYou do hereThis helps support
A customer-level token, a document upload experience, and one or more supported blood result filesSubmit the files through BRU and present clear processing status to the UserStructured biomarker data that can feed recommendations, scores, Inner Age, and other biomarker-based outputs

Supported Files

OCR accepts PDF and image documents through BRU.

RuleValue
Supported MIME typesapplication/pdf, image/jpeg, image/png
Maximum file sizeSmaller than 50 MB
Upload styleUpload each file separately
Rate limit14 files per customer per 300 seconds
File retention before process submissionUploaded files expire after 24 hours if they are not submitted in a BRU process

Give Users guidance before upload. Clear, complete, readable documents are more likely to process successfully than blurry, cropped, or partial images.

OCR Processing Flow

  1. The User selects one or more blood result documents.
  2. Your application uploads each file separately through BRU.
  3. Your application submits a BRU process with the returned uploadedFileIds.
  4. InsideTracker processes the documents asynchronously.
  5. Your application uses POST /webhooks/bru-terminal or GET /bru/customer/v1/processes/{processId} to track completion.
  6. When the process reaches PUBLISHED, published blood result identifiers are available in the process status or webhook payload.

User Experience Guidance

Set clear expectations that OCR processing is not instant and may require review if the document is unclear, incomplete, or cannot be interpreted.

Recommended states:

StateMeaning
Not startedUser has not uploaded documents.
UploadingOne or more files are being submitted.
ProcessingFiles were accepted and are being converted into structured data.
Results availableOCR processing published blood results successfully.
Action neededUpload failed, the file was unreadable, or no published result was produced.

Avoid telling Users that OCR extraction is guaranteed. A better framing is that InsideTracker is processing the document and converting it into structured health data when possible.

Handling Completion

Treat PUBLISHED as the success path. The BRU process status response or terminal webhook payload may include bloodResults with published blood result legacy IDs.

If a process reaches COMPLETE without published results, do not show new blood result data to the User. Route the submission through your support or exception-handling workflow.

Testing Checklist

  • Upload succeeds for a PDF lab report.
  • Upload succeeds for a JPEG document.
  • Upload succeeds for a PNG document.
  • Multiple files can be submitted through one BRU process, with each file uploaded separately.
  • Oversized or unsupported files produce a clear User-facing error.
  • Completion status updates the correct User.
  • Duplicate or repeated uploads do not create confusing User-facing results.
  • Support can trace a User issue back to the uploaded file and BRU processId.

Related Topics

  • Blood Result Upload
  • Webhooks
  • Creating Users
  • Adding Profile Data

Did this page help you?