---
title: "List Documents"
method: GET
path: "/api/v1/knowledge-bases/{kb_id}/documents"
tags: ["Knowledge Bases", "Knowledge Bases"]
---

# List Documents

`GET /api/v1/knowledge-bases/{kb_id}/documents`

List documents in a knowledge base, optionally filtered by status.

## Path parameters

- `kb_id` string, uuid, required

## Query parameters

- `status` 'WAITING' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'CANCELLED'

## Response `200`

Successful Response

- KnowledgeBaseDocumentRead[]
  - `id` string, uuid, required
  - `tenant_id` string, uuid, required
  - `knowledge_base_id` string, uuid, required
  - `document_id` string, uuid, required
  - `title` string, required
  - `source_type` string, required
  - `status` 'WAITING' | 'PROCESSING' | 'COMPLETED' | 'FAILED' | 'CANCELLED', required
  - `error_message` string, nullable, required
  - `chunk_count` integer, required
  - `created_at` string, date-time, required
  - `updated_at` string, date-time, required

## Other responses

- `422` — Validation Error

## Changes

> 22 revisions in range; 1 not diffed.

- **2026-09-03** `d65b8fefae34` — 2 info
  - added the optional property `detail/items/ctx` to the response with the `422` status
  - added the optional property `detail/items/input` to the response with the `422` status

[Change history](https://skmtc.dev/getanana/apis/cleon-api/changes/api/v1/knowledge-bases/:kb_id/documents/get.md)

---

[API](https://skmtc.dev/getanana/apis/cleon-api.md) · [All operations](https://skmtc.dev/getanana/apis/cleon-api/llms.txt) · [OpenAPI document](https://skmtc.dev/getanana/apis/cleon-api/revisions/7a2c09378911?raw)
