Skip to main content
GET
/
exams
/
{EXAM_ID}
Get exam by ID
curl --request GET \
  --url https://apim.doctorassistant.ai/api/sandbox/exams/{EXAM_ID} \
  --header 'x-daai-api-key: <api-key>' \
  --header 'x-daai-professional-id: <x-daai-professional-id>'
{
  "id": "rnq71oedacu1ieqmpc80yu3x",
  "status": "completed",
  "metadata": {
    "patient_id": "123456",
    "exam_type": "blood_test"
  },
  "content": {
    "date": {
      "title": "Exam Date",
      "content": "11/24/2017"
    },
    "tests": {
      "title": "Test Results",
      "content": [
        {
          "test_name": {
            "title": "Test Name",
            "content": "Red Blood Cells"
          },
          "result": {
            "title": "Result",
            "content": "4.24 million/mm3"
          },
          "numeric_result": {
            "title": "Numeric Result",
            "content": "4.24 million/mm3"
          },
          "reference_value": {
            "title": "Reference Value",
            "content": [
              "3.90 to 5.03 million/mm3"
            ]
          },
          "is_normal": {
            "title": "Within reference range",
            "content": true
          }
        }
      ]
    },
    "exam_type": {
      "title": "Exam Type",
      "content": "Clinical Laboratory Test"
    },
    "patient_name": {
      "title": "Patient Name",
      "content": "JOHN DOE"
    }
  }
}

Authorizations

x-daai-api-key
string
header
required

API key for authentication

Headers

x-daai-professional-id
string
required

Professional ID responsible for processing the exams

Path Parameters

EXAM_ID
string
required

Unique exam ID

Response

Exam found successfully

id
string
required

Unique exam ID

Example:

"rnq71oedacu1ieqmpc80yu3x"

status
enum<string>
required

Processing status

Available options:
pending,
in-progress,
completed,
failed
Example:

"completed"

metadata
object
required

Exam metadata as sent in the request

Example:
{
"patient_id": "123456",
"exam_type": "blood_test"
}
content
object
required

Processed exam content with flexible structure. The schema varies by exam type and may include:

  • date: Exam date
  • tests: Array with test results
  • exam_type: Type of exam
  • patient_name: Patient name
  • Other fields specific to the exam type
I