Chat with agent
Agent/chat
POST
/agent/chatSend a message to an agent and receive a JSON response.
Ask the agent about a patient's current status
Input
What is the patient's current condition?
session id: session-abc123agent id: agent-123
Result
successSuccess
messageResponse generated successfullyresponseBased on the patient records, they have been diagnosed with Type 2 Diabetes Mellitus (ICD-10: E11.65) and Essential Hypertension (ICD-10: I10). Current medications include Metformin 500mg BID and Lisinopril 10mg daily. Most recent HbA1c was 7.2% on 2024-12-15.
session_idsession-abc123