v1

latestOpenAPI 3.0.32026-07-26229361630.0 KB
Records

Upload Record

Upload the image or PDF file

post/mr/api/v2/docs

Query parameters

dt'lr'

Specifies the type of document being uploaded. The following values are allowed:

  • lr: Lab Report
task'smart' | 'pii' | 'classification' required

Specifies the type of document being uploaded. The following values are allowed:

  • smart: Parse the document to smart report
  • pii: Parse Personal Identification Information from the document
  • classification: Parse classification document
batchboolean

if you are upload document in batch the pass this information as true

Headers

X-Pt-Idstring

eka user id (OID)

Response

File uploaded successfully.

document_idstring uuid

The unique identifier for the uploaded document.

Example response

{
  "document_id": "8570e23d-ee57-4948-95a7-370f0f113db8"
}