---
title: "List Documents"
method: GET
path: "/clinic/documents"
tags: ["clinic", "clinic-documents"]
---

# List Documents

`GET /clinic/documents`

## 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/clinic/documents`
- Auth: none declared

*Notes to finish*: oldest first. The cursor is the last item's `created_at|id`:
two documents formatted in one batch can share a timestamp, and paging on it alone
would skip one.

## Query parameters

- `status` 'generating' | 'draft' | 'failed' | 'final', nullable
- `author` 'me', nullable
- `child_id` string, uuid, nullable
- `limit` integer
- `cursor` string, nullable

## Response `200`

Successful Response

- DocumentList
  - `documents` DocumentListItem[], required
    - `id` string, required
    - `child_id` string, required
    - `child_name` string, nullable
    - `template_name` string, required
    - `kind` 'session_note' | 'referral', required
    - `status` 'generating' | 'draft' | 'failed' | 'final', required
    - `to_check_count` integer, required
    - `stale` boolean, required
    - `session_date` string, nullable
    - `author` Person, required
      - `user_id` string, required
      - `name` string, nullable
    - `created_at` string, required
  - `next_cursor` string, nullable

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