---
title: "Create a private knowledge base in the authenticated workspace"
method: POST
path: "/v1/knowledge-bases"
---

# Create a private knowledge base in the authenticated workspace

`POST /v1/knowledge-bases`

## Request

- Base URL: `https://api.skysay.ai`
- URL: `https://api.skysay.ai/v1/knowledge-bases`
- Auth: none declared

## Request body

- KnowledgeBase
  - `name` string, required
  - `organization_id` string, required: Must match the bearer workspace.
  - `project_id` string, required: Must belong to the bearer workspace.

## Response `201`

Knowledge base

---

[API](https://skmtc.dev/skysay/apis/skysay-api.md) · [All operations](https://skmtc.dev/skysay/apis/skysay-api/llms.txt) · [OpenAPI document](https://skmtc.dev/skysay/apis/skysay-api/revisions/95b8c66f99aa?raw)
