---
title: "get kb document detail"
method: GET
path: "/admin/kb/{kb_id}/document/{doc_id}"
tags: ["document"]
---

# get kb document detail

`GET /admin/kb/{kb_id}/document/{doc_id}`

## Path parameters

- `kb_id` integer, required
- `doc_id` integer, required

## Response `200`

OK

- object
  - `data` ModelKBDocumentDetail
    - `created_at` integer
    - `desc` string
    - `disc_forum_id` integer
    - `disc_uuid` string
    - `doc_id` string
    - `doc_type` 0 | 1 | 2 | 3 | 4
    - `export_at` integer
    - `export_opt` ModelJSONBModelExportOpt
    - `export_task_id` string
    - `file_type` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10 | 11 | 12 | 13 | 14 | 15 | 16 | 17 | 18
    - `group_ids` integer[]
    - `id` integer
    - `json` string
    - `kb_id` integer
    - `markdown` string
    - `message` string
    - `parent_id` integer
    - `platform` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9 | 10
    - `platform_opt` ModelJSONBModelPlatformOpt
    - `rag_id` string
    - `root_parent_id` integer
    - `similar_id` integer
    - `status` 0 | 1 | 2 | 3 | 4 | 5 | 6 | 7 | 8 | 9
    - `title` string
    - `updated_at` integer
  - `err` string
  - `msg` string
  - `success` boolean
  - `trace_id` string

---

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