Upload and process lab PDF

Upload a lab result PDF for processing. Returns immediately with a jobId.

Two Upload Methods:

  1. Base64 Upload (files ≤ 10MB): Include pdfFile with base64-encoded PDF. Returns 202 Accepted with jobId and status "queued".

  2. Presigned URL Upload (files > 10MB, up to 50MB): Omit pdfFile field. Returns 200 OK with a presigned S3 URL. Then PUT your PDF directly to that URL. Processing starts automatically when upload completes.

Processing Steps:

  1. Language detection (English validation)
  2. PHI detection and redaction
  3. Lab result extraction with panel grouping
  4. LOINC code mapping for standardization
  5. 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.

Language
Credentials
Header
Response
Click Try It! to start a request and see the response here!