employer

Upload Document

Upload one contract document (PDF/DOCX, base64). The inline half runs the full fail-closed lane (size cap -> text extraction, with LOCAL-ONLY OCR for scanned/thin PDF pages when this host can: tesseract runs on-host, page images never leave the process, and the OCR text is gate-screened before anything persists -> doc-type detection -> the participant-identifier gate -> sha dedup -> persist); a rejection returns a typed 4xx with NOTHING persisted. An accepted document starts its extraction run in the background (poll GET /documents/status?job_id=). The response and the stored gate_receipt are honest about OCR: ocr_used always, plus ocr_pages + min_ocr_confidence when OCR ran.

post/v1/employer/documents

Request

  • Base URL: https://api.vladahealth.com (the document declares no server; this is the origin it was published from)
  • URL: https://api.vladahealth.com/v1/employer/documents
  • Auth: none declared

Cookies

vlada_emp_sessionstring nullable

Request body

tokenstring nullable
filenamestring required
content_base64string required
doc_typestring

auto|tpa_aso|pbm|spd|stop_loss|other

source_labelstring nullable

Response

Successful Response

unknown required

Changes

No recorded changes to this operation across all 1 revision of this API.