---
title: "List Documents"
method: GET
path: "/brands/{brand}/documents"
tags: ["Documents"]
---

# List Documents

`GET /brands/{brand}/documents`

## Request

- Base URL: `https://app.amber.ai/api/public/v1`
- URL: `https://app.amber.ai/api/public/v1/brands/{brand}/documents`
- Auth: HTTP bearer

## Path parameters

- `brand` string, required

## Query parameters

- `cursor` string
- `limit` integer
- `subjectKind` 'ORDER' | 'SHIPMENT' | 'PAYMENT' | 'PRODUCT' | 'PRODUCT_OPTION' | 'PRODUCT_VERSION' | 'SKU' | 'SAMPLE' | 'SAMPLE_ROUND' | 'QUOTE' | 'QUOTE_NOTE' | 'MATERIAL' | 'BOM_COMPONENT' | 'MEASUREMENT_TABLE' | 'PARTNER' | 'BRAND'
- `subjectKey` string
- `documentTypeId` string
- `includeSuperseded` 'true' | 'false'
- `fileName` string: Exact, case-sensitive match. Spaces and punctuation are literal.
- `mimeType` string: Exact, case-sensitive match. Spaces and punctuation are literal.
- `dataValue` string: Exact, case-sensitive match. Spaces and punctuation are literal.
- `issuerName` string: Exact, case-sensitive match. Spaces and punctuation are literal.

## Response `200`

A page of matching records. totalItems counts all matches across pages. When nextCursor is null, you have reached the last page.

- DocumentsList
  - `items` object[], required
    - `subjects` object[], required
      - `subjectKind` string, required
      - `subjectKey` string, required
      - `establishedAs` string, required
      - `subjectLabel` string, required
    - `id` string, required
    - `ownerType` string, required
    - `ownerId` string, required
    - `visibility` string, required
    - `documentTypeId` string, nullable, required
    - `dataValue` string, nullable, required
    - `fileName` string, nullable, required
    - `mimeType` string, nullable, required
    - `fileSizeBytes` number, nullable, required
    - `channel` string, required
    - `source` string, nullable, required
    - `supersededByDocumentId` string, nullable, required
    - `supersededAt` string, nullable, required
    - `supersededReason` string, nullable, required
    - `senderRole` string, nullable, required
    - `issuerName` string, nullable, required
    - `extent` union, required
      - string
      - number
      - boolean
      - Schema0[]
      - object
    - `createdAt` string, required
    - `updatedAt` string, required
    - `deletedAt` string, nullable, required
    - `subjectKind` string, nullable, required
    - `subjectKey` string, nullable, required
  - `nextCursor` string, nullable, required
  - `totalItems` integer, required: Total number of matching records across all pages.

## Other responses

- `400`: Invalid parameter, unsupported include, or cursor used with different filters.
- `401`: Missing, invalid, expired, or out-of-scope API key.
- `404`: The record was not found or is not available to your brand.
- `429`: Rate limit exceeded. Retry after the indicated delay.
- `500`: Unexpected server error.

---

[API](https://skmtc.dev/amber/apis/amber-public-api.md) - [All operations](https://skmtc.dev/amber/apis/amber-public-api/llms.txt) - [OpenAPI document](https://skmtc.dev/amber/apis/amber-public-api/revisions/47fb0d31a2cd?raw)
