---
title: "List document versions"
method: GET
path: "/documents/document-versions"
tags: ["Document AI — DMS"]
---

# List document versions

`GET /documents/document-versions`

## Request

- Base URL: `https://api.paperoffice.ai/latest`
- URL: `https://api.paperoffice.ai/latest/documents/document-versions`
- Auth: HTTP bearer

Version history of a document line. Pass the pofid of ANY version (path segment or pofid parameter); returns all versions with version number, pofid, is_latest, comment, ai_summary, creator, timestamps, protection (retention/legal hold)...

## Query parameters

- `pofid` string, required
- `include_trashed` boolean

## Response `200`

Success

- SuccessEnvelope: Success envelope. Payload fields are endpoint-specific (top-level fields, `result`/`job_result` for jobs, `data` on some account endpoints).
  - `status` 'success', required
  - `processing_time` union
    - string
    - number
  - `_billing` object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api.md) · [All operations](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/llms.txt) · [OpenAPI document](https://skmtc.dev/paperoffice/apis/paperoffice-ai-api/revisions/c6a6228a4509?raw)
