---
title: "Get Knowledge Base Detail"
method: GET
path: "/knowledge_bases/{id}"
tags: ["Knowledge Base"]
---

# Get Knowledge Base Detail

`GET /knowledge_bases/{id}`

Retrieve the full details of a single knowledge base entry by its ID.

## Path parameters

- `id` integer, required

## Response `200`

The knowledge base entry details.

- object
  - `request_id` string, required — Unique identifier for the request.
  - `error_code` integer, required — Numeric error code representing the status of the response. A value of `200` indicates success. <br> See the [Error Codes](/reference/error-manual#error-codes) section for more information.
  - `error_msg` string, required — Message detailing the status of the response.
  - `data` object, required
    - `id` integer, required — Unique identifier for the knowledge base entry
    - `scope_property` object, required — Property scope of this knowledge base entry
      - `type` 'all' | 'by_property' | 'by_group' | 'by_room_type', required — Scope type. all, by_property, by_group, or by_room_type.
      - `ids` integer[], required — Scope IDs. [-1] for all; property IDs for by_property; group IDs for by_group; room type IDs for by_room_type.
    - `scope_channel` object, required — Channel scope of this knowledge base entry
      - `type` 'all' | 'by_channel', required — Scope type: all or by_channel.
      - `channels` string[], required — Channel names. `['unlimited']` for all; channel name array (e.g. `['airbnb', 'booking.com']`) for by_channel. See [Supported Channels](/reference/supported-channels).
    - `title` string, required — Title of the knowledge base entry.
    - `contents` object[], required — All content entries with text and subtitles, e.g. `[{"sub_title":"WiFi", "text":"SSID: foo / pwd: bar"}]`.
      - `text` string
      - `sub_title` string
    - `is_enable` boolean, required — Whether the entry is enabled.
    - `process_status` 'waiting' | 'processing' | 'done' | 'failed', required — Processing status of the entry.

## Other responses

- `404` — The knowledge base entry does not exist or does not belong to the operator.

---

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