---
title: "List all versions of a document"
method: GET
path: "/v1/knowledge-base/documents/{doc_id}/versions"
tags: ["knowledge-base"]
---

# List all versions of a document

`GET /v1/knowledge-base/documents/{doc_id}/versions`

## Path parameters

- `doc_id` string, uuid, required

## Response `200`

Successful Response

- DocumentVersionResponse[]
  - `id` string, uuid, required
  - `document_id` string, uuid, required
  - `version_number` integer, required
  - `state` string, required
  - `scan_status` string, nullable
  - `source_type` string, required
  - `source_url` string, nullable, required
  - `filename` string, nullable
  - `chunk_count` integer, required
  - `token_count` integer, required
  - `error_message` string, nullable, required
  - `metadata` object
  - `created_at` string, date-time, required
  - `processed_at` string, date-time, nullable, required
  - `download_url` string, nullable
  - `governance_status` string, nullable
  - `expires_at` string, date-time, nullable
  - `pii_status` string, nullable
  - `sensitivity` string, nullable
  - `pii_detection_count` integer, nullable
  - `pii_entity_types` string[], nullable
  - `pii_coverage_status` string, nullable
  - `pii_scrubbed_at` string, date-time, nullable
  - `safe_title` string, nullable

## Other responses

- `400` — Bad request
- `401` — Authentication required
- `404` — Resource not found
- `422` — Validation Error

## Changes

> 3 revisions in range; 1 could not be searched.

- **2026-08-12** `5a5597ebb2d6` — 6 info
  - added the optional property `retry_after` to the response with the `400` status
  - added the optional property `retry_after` to the response with the `401` status
  - added the optional property `retry_after` to the response with the `404` status
  - added the optional property `retryable` to the response with the `400` status
  - …2 more

[Change history](https://skmtc.dev/oneloop-hq/apis/feather-api/changes/v1/knowledge-base/documents/:doc_id/versions/get.md)

---

[API](https://skmtc.dev/oneloop-hq/apis/feather-api.md) · [All operations](https://skmtc.dev/oneloop-hq/apis/feather-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/oneloop-hq/feather-api/revisions/9cd7291d4228/schema)
