---
title: "Create a Knowledge base with a workspace API key"
method: POST
path: "/knowledge"
---

# Create a Knowledge base with a workspace API key

`POST /knowledge`

## Request

- Base URL: `https://api.langdock.com`
- URL: `https://api.langdock.com/knowledge`
- Auth: HTTP bearer

## Request body

- object
  - `name` string, required: Trimmed, then must not be empty. Maximum 2000 characters.
  - `description` string: Optional. Maximum 2000 characters. Not trimmed.

## Response `201`

Knowledge base created

## Changes

- **2026-11-03** `c62bf90b4013`: 1 info
  - endpoint added

[Operation history](https://skmtc.dev/langdock/apis/langdock-api/changes/knowledge/post.md)

---

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