---
title: "CreateKnowledgeBase"
method: POST
path: "/api/v1/knowledge_base"
tags: ["knowledge_base"]
---

# CreateKnowledgeBase

`POST /api/v1/knowledge_base`

CreateKnowledgeBase

## Request body

- DomainCreateKnowledgeBaseReq
  - `hosts` string[]
  - `name` string, required
  - `ports` integer[]
  - `private_key` string
  - `public_key` string
  - `ssl_ports` integer[]

## Response `200`

OK

- DomainResponse
  - `data` unknown
  - `message` string
  - `success` boolean

---

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