Diagnosis API
Get diagnosis
Generates a clinical diagnosis and patient recommendations based on a patient's profile from an existing session. Query parameters can be used to toggle:
- Differential Diagnosis
- Urgency (Triage)
- Specialist Recommendation
- Suggested Health Management Advice
AuthorizationBearer <token>
In: header
Path Parameters
session_idSession Id
The unique identifier for a completed session.
Response Body
curl -X GET "https://api.avey.ai/ddx/session/f47ac10b-58cc-4372-a567-0e02b2c3d479/diagnose"
{
"differential_diagnosis": [
{
"description": "Commonly known as the common cold, this is a viral infection of your nose and throat.",
"id": "Common Cold",
"term": "Common Cold"
},
{
"description": "Commonly known as the flu, this is a contagious respiratory illness caused by influenza viruses.",
"id": "Influenza",
"term": "Influenza"
}
],
"self_management": "Stay hydrated and get plenty of rest. Over-the-counter pain relievers can help with aches.",
"urgency": "Home Treatable",
"specialist": "General Practitioner"
}
{
"detail": "Not authenticated"
}
{
"detail": "Session not found or has expired."
}
{
"detail": [
{
"loc": [
"string"
],
"msg": "string",
"type": "string"
}
]
}
{
"detail": "An unexpected internal error occurred."
}
How is this guide?