---
title: "创建知识库"
method: POST
path: "/api/v1/knowledge/bases"
tags: ["Knowledge Bases"]
---

# 创建知识库

`POST /api/v1/knowledge/bases`

## Request body

- object
  - `name` string, required
  - `description` string
  - `engine_plugin_id` string — 知识引擎插件 ID（author/name 格式）
  - `creation_settings` object — 引擎创建参数

## Response `200`

创建成功

- object
  - `code` integer
  - `data` object
    - `uuid` string, uuid

---

[API](https://skmtc.dev/langbot/apis/langbot-service-api.md) · [All operations](https://skmtc.dev/langbot/apis/langbot-service-api/llms.txt) · [OpenAPI document](https://skmtc-service-production.skmtc.workers.dev/v1/apis/langbot/langbot-service-api/revisions/2384dee8c36a/schema)
