---
title: "Create Lab Panel"
method: POST
path: "/patients/{patient_id}/labs"
tags: ["patients"]
---

# Create Lab Panel

`POST /patients/{patient_id}/labs`

## 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/patients/{patient_id}/labs`
- Auth: HTTP bearer

Store CBC/RFT/LFT lab panel results and attach to a modality report.

## Path parameters

- `patient_id` integer, required

## Request body

- LabPanelCreate
  - `panel_type` string, required
  - `measured_at` string, date-time, nullable
  - `items` LabPanelItem[], required
    - `name` string, required
    - `value_numeric` number, nullable
    - `value_text` string, nullable
    - `unit` string, nullable

## Response `200`

Successful Response

- BiomarkerOut[]
  - `biomarker_name` string, required
  - `value_numeric` number, nullable
  - `value_text` string, nullable
  - `unit` string, nullable
  - `assay_method` string, nullable
  - `threshold_positive` number, nullable
  - `measured_at` string, date-time, nullable
  - `id` integer, required
  - `patient_id` integer, required
  - `modality_id` integer, nullable
  - `created_at` string, date-time, required

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