---
title: "Generate Prep Summary"
method: POST
path: "/read/clinic/prep"
tags: ["read", "clinic"]
---

# Generate Prep Summary

`POST /read/clinic/prep`

## Request

- Base URL: `https://api.projectindi.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.projectindi.com/read/clinic/prep`
- Auth: none declared

Generate a clinical session prep summary for a child.

Fetches all timeline data within the specified period and generates
an LLM summary to help clinicians prepare for their next session.

Authentication: JWT required via Authorization header
Authorization: Verified via clinician_child_access table

## Request body

- PrepRequest
  - `child_id` string, required
  - `period_days` 7 | 14 | 30, required

## Response `200`

Successful Response

- PrepResponse
  - `child_id` string, required
  - `child_name` string, required
  - `period_days` integer, required
  - `period_label` string, required
  - `summary` string, required
  - `data_snapshot` object, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles.md) - [All operations](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/llms.txt) - [OpenAPI document](https://skmtc.dev/projectindi/apis/indi-agent-api-first-principles/revisions/25a7813e21fd?raw)
