Reports
The patient's uploaded and synced reports: list, detail, lookup by result, download link, rename, delete, and the in-progress / failed uploads with their reason.
Get a report
Get detailed view of a lab report (includes test results, biomarker extractions, etc.).
Rename a report
Rename a lab report file.
Find a report by result
Resolve a lab report by result ID (maps to job details for reports-page navigation).
Remove a report's local records
Delete local LabJob record and clean associated biomarker entries from UserLabSummary.
Delete a report
Deletes a report: the file and every result that came from it.
Get a report download link
A short-lived link to a report's PDF.
List uploads in progress
Uploads that have not become records yet, plus failed and on-hold ones. Rows still processing (`status: PROCESSING`) cover the last 24 hours. With `?dismissable=1` failed (`FAILED`) and on-hold (`BLOCKED`) rows stay for 30 days unless dismissed; without it they follow the 24-hour rule — send it only when your UI offers a Dismiss action. A failed row's `error` is the plain-words reason (a photo saved as a PDF, an empty or damaged file, a password-protected PDF, a time-out) and `error_code` the machine code (`PAGE_TOO_LARGE`, `EMPTY_FILE`, `UNREADABLE_PDF`, `PASSWORD_PROTECTED`, `TIMEOUT`, `EXTRACTION_FAILED`, `INTEGRATION_FAILED`). Manual uploads only — files delivered by a clinic never appear here.
Dismiss a failed upload
Remove a failed or on-hold upload's row from the patient's records list (for the patient and their providers alike). Only rows that ended without a report can be dismissed; dismissing twice is fine (200). A later failure of the same upload shows it again.
List reports
List lab reports for the patient (paginated). Filters by file_type (LAB_RESULTS, IMAGING, GENETICS, REPORTS, ALL).