---
title: "Clinical Chat"
method: POST
path: "/clinical-ai/chat"
tags: ["Clinical AI"]
---

# Clinical Chat

`POST /clinical-ai/chat`

## Request

- Base URL: `https://api.alpha-grid.ai` (the document declares no server; this is the origin it was published from)
- URL: `https://api.alpha-grid.ai/clinical-ai/chat`
- Auth: HTTP bearer

Interactive clinical Q&A with patient context.

Supports multi-turn conversation about a patient's case,
with full access to patient history and clinical evidence.

## Request body

- ClinicalChatRequest: Request for clinical Q&A chat.
  - `patient_id` integer, required: Patient ID for context
  - `message` string, required: User question or message
  - `conversation_history` object[], nullable: Previous messages in conversation

## Response `200`

Successful Response

- ClinicalAIResponse: Standard response from clinical AI endpoints.
  - `patient_id` integer, required
  - `analysis_type` string, required
  - `response` string, required
  - `citations` object[]
  - `recommendations` object[]
  - `clinical_trials` object[]
  - `confidence_notes` string, nullable
  - `generated_at` string, required
  - `model` string

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev.md) - [All operations](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/llms.txt) - [OpenAPI document](https://skmtc.dev/alpha-grid/apis/alphagrid-backend-dev/revisions/13bab0bdd466?raw)
