---
title: "POST /api/analyze-patient-chart"
method: POST
path: "/api/analyze-patient-chart"
---

# POST /api/analyze-patient-chart

`POST /api/analyze-patient-chart`

## Request

- Base URL: `https://forecaster.cairhealth.com`
- URL: `https://forecaster.cairhealth.com/api/analyze-patient-chart`
- Auth: HTTP bearer

Analyzes patient chart documents and generates comprehensive medical coding and documentation reports

## Query parameters

- `generate_coding_report` boolean
- `generate_time_based_requirements_report` boolean
- `generate_telehealth_documentation_report` boolean
- `generate_documentation_discrepancy_report` boolean
- `generate_authentication_report` boolean
- `generate_diagnosis_procedure_report_alignment` boolean
- `generate_modifier_bundling_report` boolean
- `generate_ncd_lcd_analysis` boolean
- `generate_suggestions_for_fixing_issues_report` boolean

## Headers

- `content-type` string, required
- `content-disposition` string

## Request body `application/pdf`

- string, binary: Binary content of a PDF document

## Response `200`

Patient chart analysis completed successfully

- object
  - `reportId` string: Unique identifier for the patient chart analysis
  - `success` boolean: Whether the patient chart analysis was successful

## Other responses

- `400`: Invalid request or file processing error
- `401`: Unauthorized access or invalid organization ID
- `500`: Server error or analysis failure

## Changes

- **2026-11-03** `b32380ccde9a`: 3 info
  - added the optional property `error` to the response with the `400` status
  - added the optional property `error` to the response with the `401` status
  - added the optional property `error` to the response with the `500` status

[Operation history](https://skmtc.dev/cairhealth/apis/cair-health-apis/changes/api/analyze-patient-chart/post.md)

---

[API](https://skmtc.dev/cairhealth/apis/cair-health-apis.md) - [All operations](https://skmtc.dev/cairhealth/apis/cair-health-apis/llms.txt) - [OpenAPI document](https://skmtc.dev/cairhealth/apis/cair-health-apis/revisions/b32380ccde9a?raw)
