---
title: "Get Patient Documents"
method: GET
path: "/user/patient/{patient_id}/documents"
tags: ["provider", "user"]
---

# Get Patient Documents

`GET /user/patient/{patient_id}/documents`

## Request

- Base URL: `https://docs.decodahealth.com` (the document declares no server; this is the origin it was published from)
- URL: `https://docs.decodahealth.com/user/patient/{patient_id}/documents`
- Auth: none declared. Required headers: `TENANT`, `API-KEY`
- TypeScript: <https://skmtc.dev/decodahealth/apis/decoda-api/docs/user/patient/:patient_id/documents/get.ts> (a function with typed inputs; its response is checked against the schema)

Get all documents for a patient.

## Path parameters

- `patient_id` string, required

## Query parameters

- `page` integer, nullable
- `per_page` integer, nullable
- `sort_by` string, nullable
- `sort_direction` 'asc' | 'desc', nullable
- `location_id` string, nullable

## Headers

- `TENANT` string, required
- `API-KEY` string, required

## Response `200`

Successful Response

- PageDocumentSummary
  - `data` DocumentSummary[], required
    - `id` string, required
    - `patientId` string, required
    - `filePath` string, required
    - `fileType` string, required
    - `title` string, required
    - `summary` string, nullable, required
    - `docType` 'LAB' | 'PHARMACY' | 'IMAGE' | 'REPORT' | 'OTHER' | 'CONSENT' | 'NOTE_UPLOAD', required
    - `signatureUrl` string, nullable, required
  - `total` integer, required

## Other responses

- `422`: Validation Error

---

[API](https://skmtc.dev/decodahealth/apis/decoda-api.md) - [All operations](https://skmtc.dev/decodahealth/apis/decoda-api/llms.txt) - [OpenAPI document](https://skmtc.dev/decodahealth/apis/decoda-api/revisions/4ab18c80f9e9?raw)
