---
title: "Get Knowledge Base Documents"
method: GET
path: "/knowledge_bases/v2/{kb_id}/documents"
tags: ["Knowledge Bases V2"]
---

# Get Knowledge Base Documents

`GET /knowledge_bases/v2/{kb_id}/documents`

Get all document versions for a knowledge base.

Returns list of all documents (versions) ordered by version descending (newest first).
Each document includes:
- Basic info: filename, file type, file size, version
- Processing status and timestamps
- User who uploaded it
- Chunks information

## Path parameters

- `kb_id` integer, required

## Response `200`

Successful Response

- unknown[]
  - unknown

## Other responses

- `403` — Access denied
- `404` — Knowledge base not found
- `422` — Validation Error

---

[API](https://skmtc.net/myaltimate/apis/fastapi.md) · [All operations](https://skmtc.net/myaltimate/apis/fastapi/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/myaltimate/fastapi/versions/aab3fe5c9f05/schema)
