post
https://api.voloridgehealth.com/extraction/lab/upload
Upload a lab result PDF for processing. Returns immediately with a jobId.
Two Upload Methods:
-
Base64 Upload (files ≤ 10MB): Include
pdfFilewith base64-encoded PDF. Returns202 Acceptedwith jobId and status "queued". -
Presigned URL Upload (files > 10MB, up to 50MB): Omit
pdfFilefield. Returns200 OKwith a presigned S3 URL. Then PUT your PDF directly to that URL. Processing starts automatically when upload completes.
Processing Steps:
- Language detection (English validation)
- PHI detection and redaction
- Lab result extraction with panel grouping
- LOINC code mapping for standardization
- UCUM unit code mapping for standardization
Processing Time: 2-5 minutes depending on page count
Webhook Notification: Provide a webhookUrl to receive push notifications when processing completes. See WebhookPayload schema for payload structure.
