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

# List all documents

`GET /api/v1/documents`

## Request

- Base URL: `https://api.korala.ai`
- URL: `https://api.korala.ai/api/v1/documents`
- Auth: one of:
  - API key in header `X-API-Key`
  - `bearer` (a scheme the document does not define)

## Query parameters

- `sandbox` boolean
- `collectionId` string, uuid
- `collectionIds` string[]
- `unassigned` boolean
- `includeCollections` boolean
- `search` string
- `templateId` string, uuid
- `status` 'draft' | 'pending' | 'completing' | 'completed' | 'failed' | 'voided' | 'expired'
- `sortBy` 'createdAt' | 'name' | 'status'
- `sortOrder` 'asc' | 'desc'
- `page` number
- `limit` number

## Response `200`

- PaginatedDocumentsDto
  - `data` DocumentDto[], required
    - `collectionIds` string[]: Collection memberships; omitted on lists unless includeCollections=true.
    - `googleSource` GoogleProvenanceDto
      - `fileId` string, required
      - `name` string, required
      - `url` string, required
      - `mimeType` string, required
      - `driveVersion` string, required
      - `docsRevision` string
      - `tabCount` number
      - `skipEmptyPages` boolean: Whether conversion suppresses automatic blank parity pages. Absent on older imports, which retain their original pagination.
      - `fetchedAt` string, required
      - `locallyReplacedAt` string: First local file replacement. When present, this provenance describes the original import, not the current template file. Google variable validation no longer applies; the saved pagination policy is retained.
      - `sourceSha256` string, required: SHA-256 of the stored source, after DOCX ZIP normalization.
      - `providerSourceSha256` string: SHA-256 of the original bytes downloaded from Google.
      - `pdfSha256` string, required
      - `dialect` 'korala-simple-v1', required
    - `id` string, required
    - `name` string, required
    - `status` 'draft' | 'pending' | 'completing' | 'completed' | 'failed' | 'voided' | 'expired', required
    - `originalFileUrl` string, required
    - `signedFileUrl` string, nullable
    - `certificateFileUrl` string, nullable
    - `expiresAt` string, date-time, nullable
    - `completedAt` string, date-time, nullable
    - `sandbox` boolean, required: Whether this is a sandbox (test) document
    - `suppressNotifications` boolean, required: Whether email notifications are suppressed
    - `formFieldsDetected` number, nullable: How many interactive form fields the uploaded PDF ships with, counted when the upload was confirmed. 0 for a flat PDF, null when the file was never scanned (e.g. generated from a template).
    - `autoImportFormFields` boolean, required: Whether those embedded fields are placed automatically for the first signer added to this document.
    - `catalogFormSlug` string, nullable: Standard Forms catalog slug this document was generated from, e.g. "irs-w9" (null for non-catalog documents)
    - `catalogFormTitle` string, nullable: Catalog form title, e.g. "IRS Form W-9 …"
    - `catalogRevision` string, nullable: Catalog form revision, e.g. "Rev. March 2024"
    - `catalogVersionId` string, nullable: ID of the catalog form version this document is based on
    - `templateId` string, uuid, nullable: The workspace template this document was created from
    - `templateName` string, nullable: That template's current name, on the document detail only (null if the template was deleted)
    - `signerNames` string[]: Names of the people signing, in signing order. On document lists only.
    - `createdAt` string, date-time, required
    - `updatedAt` string, date-time, required
  - `total` number, required: Total number of documents
  - `page` number, required: Current page number
  - `limit` number, required: Number of items per page
  - `totalPages` number, required: Total number of pages

---

[API](https://skmtc.dev/korala/apis/korala-public-api.md) · [All operations](https://skmtc.dev/korala/apis/korala-public-api/llms.txt) · [OpenAPI document](https://skmtc.dev/korala/apis/korala-public-api/revisions/5c4d7810c507?raw)
