---
title: "Get Cohort Analysis"
method: POST
path: "/clinical-ai/cohort-analysis"
tags: ["Clinical AI"]
---

# Get Cohort Analysis

`POST /clinical-ai/cohort-analysis`

## 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/cohort-analysis`
- Auth: HTTP bearer

Compare patient to similar cohorts for prognostic insights.

Analyzes how the patient compares to published cohort studies
based on diagnosis, stage, biomarkers, and other characteristics.

## Request body

- CohortAnalysisRequest: Request for cohort analysis.
  - `patient_id` integer, required: Patient ID
  - `comparison_criteria` string[], nullable: Specific criteria to compare (e.g., ['stage', 'biomarkers', 'treatment_response'])

## 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)
