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

# List all documents

`GET /documents`

Get a paginated list of all the documents associated with the specified order or query.

## Query parameters

- `order_id` string
- `order_uuid` string, uuid4
- `query_id` string
- `query_uuid` string, uuid4
- `chase_uuid` string, uuid4
- `limit` integer
- `offset` integer

## Headers

- `version-datavant` string — Version of the Orders API to use with this call

## Response `200`

Successful Response

- JsonApiPageDocumentResponse — JSON:API 1.0 specification says that result key should be a `data`.
  - `data` DocumentResponse[], required
    - `uuid` string, required — Unique identifier for the object.
    - `type` 'chart' | 'provider_packet' | 'health_plan_letter' | 'request_letter' | 'letter_of_representation' | 'patient_authorization' | 'request_file' | 'supplemental_data' | 'merge_report' | 'quality_review_guide' | 'provider_packet_additional_document', required — The type of document.
    - `metadata` object, required — Miscellaneous metadata associated with the document
    - `created_at` string, date-time, required — The ISO8601 formatted timestamp for when the object was created.
    - `updated_at` string, date-time — The ISO8601 formatted timestamp for when the object was last updated.
    - `links` DocumentLinks — Link to download the document.
      - `download` string, uri, required
  - `total` integer, required
  - `limit` integer
  - `offset` integer
  - `links` Links, required
    - `first` string
    - `last` string
    - `self` string
    - `next` string
    - `prev` string
  - `unfiltered_total` integer

## Other responses

- `400` — Bad Request
- `422` — Unprocessable Entity

---

[API](https://skmtc.net/datavant/apis/datavant-rest-api.md) · [All operations](https://skmtc.net/datavant/apis/datavant-rest-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/datavant/datavant-rest-api/revisions/f39a4bfeca8e/schema)
