---
title: "Get Doctor Patient Insights"
method: GET
path: "/api/doctor/patients/{patient_id}/insights"
---

# Get Doctor Patient Insights

`GET /api/doctor/patients/{patient_id}/insights`

## Request

- Base URL: `https://api.mednode.in` (the document declares no server; this is the origin it was published from)
- URL: `https://api.mednode.in/api/doctor/patients/{patient_id}/insights`
- Auth: HTTP bearer

## Path parameters

- `patient_id` integer, required

## Query parameters

- `from_at` string, date-time, nullable
- `to_at` string, date-time, nullable

## Response `200`

Successful Response

- DoctorInsightsResponse
  - `patient_id` integer, required
  - `from_at` string, date-time, nullable
  - `to_at` string, date-time, nullable
  - `summary` string, required
  - `flags` DoctorInsightFlag[]
    - `metric_type` string, required
    - `level` 'info' | 'warning', required
    - `message` string, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/mednode/apis/mednode-ai-api.md) · [All operations](https://skmtc.dev/mednode/apis/mednode-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/mednode/apis/mednode-ai-api/revisions/7e0b84effd6e?raw)
