---
title: "List document chunks"
method: GET
path: "/api/v1/knowledge-bases/{kb_id}/chunks"
tags: ["Knowledge Base"]
---

# List document chunks

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

## Path parameters

- `kb_id` string, required

## Query parameters

- `document_id` string
- `page` integer
- `page_size` integer

## Response `200`

Standard AstrBot success response

- SuccessEnvelope
  - `status` 'ok', required
  - `message` string
  - `data` unknown, required

## Changes

- **2026-06-14** `6b73b947caab` — 1 info
  - endpoint added

[Change history](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/changes/api/v1/knowledge-bases/:kb_id/chunks/get.md)

---

[API](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1.md) · [All operations](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/llms.txt) · [OpenAPI document](https://skmtc.dev/astrbotdevs/apis/astrbot-openapi-v1/revisions/6b73b947caab?raw)
