---
title: "获取分块历史版本"
method: GET
path: "/chunks/{knowledge_id}/{id}/revisions"
tags: ["分块管理"]
---

# 获取分块历史版本

`GET /chunks/{knowledge_id}/{id}/revisions`

## Request

- Base URL: `/api/v1` (relative, and the document was published on a file host, not at the API’s origin)
- URL: `/api/v1/chunks/{knowledge_id}/{id}/revisions`
- Auth: one of:
  - API key in header `Authorization`
  - API key in header `X-API-Key`

## Path parameters

- `knowledge_id` string, required
- `id` string, required

## Response `200`

OK

- object
  - `data` GithubComTencentWeKnoraInternalTypesChunkRevision[]
    - `chunk_id` string
    - `content` string
    - `created_at` string
    - `edit_source` string
    - `edited_at` string
    - `editor_id` string
    - `id` string
    - `is_enabled` boolean
    - `knowledge_base_id` string
    - `knowledge_id` string
    - `revision` integer
    - `tenant_id` integer
  - `success` boolean

## Changes

- **2026-10-17** `de9fb40c7476`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/tencentblueking/apis/weknora-api/changes/chunks/:knowledge_id/:id/revisions/get.md)

---

[API](https://skmtc.dev/tencentblueking/apis/weknora-api.md) - [All operations](https://skmtc.dev/tencentblueking/apis/weknora-api/llms.txt) - [OpenAPI document](https://skmtc.dev/tencentblueking/apis/weknora-api/revisions/685d1f9fce30?raw)
