Docus Lab SAAS Sandbox
  1. Visit
Docus Lab SAAS Sandbox
  • Getting Started
  • Initial Biomarkers and Biomarker Groups Setup
  • Flow Between Lab and API
  • Limitations
  • Support
  • Patient
    • Create a patient
      POST
    • Update a patient
      PUT
    • Get patient by ID
      GET
  • Visit
    • Create visit
      POST
    • Create composite visit
      POST
    • Generate AI report
      POST
    • Get AI report by visit ID
      GET
  • Lab Test
    • Create a plain lab test
      POST
    • Create a lab test with biomarkers
      POST
    • Create bulk plain lab tests
      POST
    • Create bulk lab tests with biomarkers
      POST
    • Get lab test by ID
      GET
  • Biomarker Group
    • Create a biomarker group
      POST
    • Update a biomarker group
      PUT
    • Get biomarker group by ID
      GET
  • Biomarker
    • Create a biomarker
      POST
    • Update biomarker by ID
      PUT
    • Get biomarker by ID
      GET
  • Branch
    • Create a branch
      POST
    • Update branch by ID
      PUT
    • Get branch by ID
      GET
  • Webhooks
    • Health reports
    • Notifications
  • Schemas
    • Schemas
      • UpdateBiomarkerDto
      • CreateLabTestPlanDTO
      • UpdateBiomarkerGroupDto
      • LabTestReport
      • CreateCompositeVisitDto
      • MultipleTestIdsDto
      • CreateBulkLabTestsPlainDTO
      • CreateBulkLabTestsDTO
      • CreateBranchDto
      • UpdateBranchDto
      • Biomarker
      • CreateBiomarkerGroupDto
      • CreateBiomarkerDto
      • SingleReport
      • CreatePatientDto
      • UpdatePatientDto
      • CreateVisitDto
      • CreateLabTestDTO
  1. Visit

Generate AI report

POST
/visit/generate

Request

Header Params

Body Params application/json

Examples

Responses

🟢201Created
application/json
Body

🟢200OK
Request Request Example
Shell
JavaScript
Java
Swift
curl --location --request POST '/visit/generate' \
--header 'x-api-key: {{api-key}}' \
--header 'x-docus-key: {{docus-key}}' \
--header 'x-auth-secret: {{auth-secret}}' \
--header 'x-team-id: {{team-id}}' \
--header 'Content-Type: application/json' \
--data-raw '{
    "visit_id": "v_xyz123",
    "patient_id": "p_xyz123"
}'
Response Response Example
201 - Example 1
{
    "message": "Visit analysis started successfully."
}
Modified at 2025-08-11 14:29:02
Previous
Create composite visit
Next
Get AI report by visit ID
Built with