American Hospital DubaiMedricsAI integration handbook

Verify the integration

Use synthetic content only. The release gate checks the contract, AHD scope, safety routing, and failure behavior before production traffic.

Sprinklr
Medrics
OpenAI
Handoff

Acceptance matrix

TestExpected resultRelease gate
AHD service questionRelevant high-level answer, no diagnosisRequired
Out-of-scope questionStandard AHD-only refusalRequired
Emergency statementUAE emergency direction and handoff trueRequired
Human-agent requesthandoff true and support routingRequired
Invalid bearer token401 with no model invocationRequired
Malformed payload400 or 415 and safe fallbackRequired
Gateway timeoutHuman queue receives the conversationRequired
Retrieval-heavy answerFile annotations absent from the public responseRequired
Contact informationPhone and email unchanged; bare AHD website is link-readyRequired

Health check

curl --fail --silent \
  https://api.ahd.ai.medrics.net/health

Authenticated smoke test

curl --request POST \
  https://api.ahd.ai.medrics.net/v1/ahd/chat \
  --header "Authorization: Bearer <MEDRICS_ISSUED_TOKEN>" \
  --header "Content-Type: application/json" \
  --header "X-Request-Id: ahd-uat-001" \
  --data '{
    "message": "What services can you help me with?",
    "conversation_history": "",
    "channel": "sprinklr-uat",
    "locale": "en-AE"
  }'

Never paste the production bearer token into a ticket, email, screenshot, or the dialogue transcript. Replace it immediately if it is exposed.

Continue to handoff