Skip to main content

Escalate your AI’s edge cases to a human physician

Send the context to our API. A physician reads it and chats with your user, right in your app. Prescribing when needed.

Your app

You · 9:12 AM

Are you sure it's a side effect?

Your AI agent · 9:12 AM

I'm not certain. I'd like a physician to answer this one. OK to send them this conversation?

You · 9:13 AM

Yes please

A doctor has entered the chat

Elena Park, MD · 11:40 AM

Hi, I read your conversation. When did you first notice it?

When your agent should ask a doctor

You decide when to escalate. These are common places to start.

Symptoms that don't fit
The history points in two directions, or the agent's confidence is low.
Results that need context
A lab value or finding your agent can explain but shouldn't act on alone.
Medication questions
Interactions, side effects, and missed doses.
“I'd like to ask a doctor”
Your user wants a human answer.

Physician chat is asynchronous and is not for emergencies. Your agent should direct possible emergencies to 911.

How it works

  1. 1

    Your agent sends the context

    Your agent writes up the conversation as a clinical summary and POSTs it. If something a physician needs is missing, the API says what, so your agent can ask before anyone waits on an answer.

  2. 2

    Your user agrees to see a doctor

    They review what will be sent and consent to care with Appendix.

  3. 3

    A physician reads it and replies

    The physician reviews the case, asks your user follow-up questions, and gives their own recommendation.

  4. 4

    The conversation continues in your app

    A signed webhook tells you a message is waiting. Your app reads the message by API, shows it in your chat, and sends your user's reply back.

POST

Escalate to a physician

1{
2"query": "# Chief Complaint\nAsks whether a symptom is a medication side effect...",
3"patient_email": "user@example.com",
4"patient_phone": "+12155550123",
5"patient_state": "PA",
6"patient_zip": "19103",
7"external_id": "thread_8842"
8}

Webhook: a physician message is waiting

1{
2"type": "encounter.message",
3"data": {
4"external_id": "thread_8842",
5"status": "in_review",
6"rx_count": 0,
7"details_url": "https://api.appendix.com/api/v1/prescribing/..."
8}
9}

Advice first. Prescribing when needed.

Escalations run on Appendix’s Prescribing API, though they don’t have to end in a prescription. Every case gets a physician’s own judgment.

Advice

The physician answers the question, and no prescription is needed.

A prescription

When clinically appropriate, the physician prescribes. Your user gets a text to choose their pharmacy.

In-person care

The physician tells your user they need to be seen, and why.

Evaluating your AI instead of caring for a patient? Use the Decisions API.

Frequently asked questions

What is AI agent escalation to a physician?

It is a handoff from an AI agent to a human doctor when a medical question is beyond what the agent should answer alone. With Appendix, the agent sends the context through the Prescribing API, and a board-certified physician reviews it and messages the user. The physician gives advice, prescribes when appropriate, or recommends in-person care.

Why does an advice question use the Prescribing API?

The Prescribing API is the Appendix API for decisions about an individual patient. A prescription is one possible outcome. Advice with no prescription is another standard outcome.

Can the physician chat with my user inside my app?

Yes. With full data visibility and the patient's consent, an encounter.message webhook tells your app a message is waiting, your app reads it from the details endpoint, and you send the user's replies back by API. The webhook itself never contains the message. Without full visibility, your user chats on a secure page hosted by Appendix.

How quickly does a physician respond?

Physician chat is asynchronous. Tell your users to allow 24 hours for a response. It is not for emergencies: your agent should direct possible emergencies to 911 and should not escalate them through Appendix.

How is this different from the Appendix Decisions API?

Use the Prescribing API when the answer will guide care for one person. Use the Decisions API to evaluate an AI system: comparing releases, sampling quality, or labeling data. Decisions API answers are informational and are not for an individual's diagnosis, treatment, or triage.

What does it cost?

You pay per completed physician review. Sandbox testing is free. Current rates are at appendix.com/docs/prescribing-api/pricing.

How do I get started?

Get a free test key and build the whole flow in the sandbox, including simulated physician messages. Before production, we review your use case with you.

Your AI knows when to ask.
Appendix brings the doctor.

Sandbox keys are free and instant.

Appendix

Physician judgment, by API

1800 JFK Blvd #300-91200
Philadelphia, PA 19103

© 2026 Appendix, Inc.

Stay in the loop

Occasional updates from the Appendix team.

No spam. By joining, you agree to our Privacy Policy.

Appendix is for non-urgent medical concerns only. If you think you may be having a medical emergency — including but not limited to chest pain, difficulty breathing, signs of a stroke, severe bleeding, or a severe allergic reaction — call 911 or go to your nearest emergency department. Do not wait for a response from Appendix. Appendix is not for mental health crises. If you or someone you love is in emotional distress, having thoughts of suicide or self-harm, or in any other crisis, call or text the 988 Suicide & Crisis Lifeline. Appendix is not a triage or diagnostic tool and should not be used as one. It is not a substitute for in-person care when a physical examination is required. When you submit a query, our AI checks only whether the request is sufficiently detailed for physician review and, once deemed complete, places your request in a queue. Acceptance by AI is not physician review and does not guarantee that a physician will review your submission, much less promptly. Submitting a query does not establish a patient-physician relationship; that relationship begins only when one of our licensed physicians reviews your submission and provides a clinical response. AI assists with documentation only. All clinical decisions are made by our board-certified physicians. By accessing medical services through the Appendix platform, you are responsible for the content of any submission made on your behalf — including submissions made by an AI agent acting under your direction. Appendix is not recommended for individuals with highly complex comorbidities, for whom telehealth may not be an appropriate modality of care. Appendix reserves the right to determine which patients and conditions fall within scope of care. By accessing our site or our services — including the API, agent skills, and Model Context Protocol (MCP) server — you agree to our Terms of Service (https://appendix.com/terms-of-service) and Privacy Policy (https://appendix.com/privacy-policy). Examples on this website are illustrative and do not represent actual patients or physician reviews.