---
title: "List wiki page revisions"
method: GET
path: "/knowledgebase/{kb_id}/wiki/revisions/{slug}"
tags: ["Wiki"]
---

# List wiki page revisions

`GET /knowledgebase/{kb_id}/wiki/revisions/{slug}`

Returns the stored historical snapshots for a page, newest
first (content omitted), plus the current version. Passing
`version` returns that single snapshot with full content.

## Path parameters

- `kb_id` string, required
- `slug` string, required

## Query parameters

- `version` integer
- `limit` integer
- `offset` integer

## Response `200`

OK

- GithubComTencentWeKnoraInternalTypesWikiPageRevisionListResponse
  - `current_version` integer
  - `revisions` GithubComTencentWeKnoraInternalTypesWikiPageRevision[]
    - `aliases` string[]
    - `content` string
    - `created_at` string
    - `edit_source` string — Author of THIS version (same semantics as WikiPage.LastEditSource).
    - `edited_at` string — When this version was authored (the page's updated_at while current).
    - `editor_id` string
    - `id` string
    - `knowledge_base_id` string
    - `page_id` string
    - `page_type` string
    - `slug` string
    - `status` string
    - `summary` string
    - `tenant_id` integer
    - `title` string
    - `version` integer
  - `total` integer

## Other responses

- `404` — Not Found

---

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