---
title: "Create knowledge base"
method: POST
path: "/knowledge-bases"
tags: ["Knowledge Bases"]
---

# Create knowledge base

`POST /knowledge-bases`

## Request

- Base URL: `https://api.telvana.com`
- URL: `https://api.telvana.com/knowledge-bases`
- Auth: API key in header `x-api-key`

Create a new knowledge base. This also creates a corresponding vector collection for document embeddings.

## Request body

- object
  - `name` string, required
  - `description` string, required

## Response `201`

Knowledge base created successfully

- object
  - `data` object
    - `id` string
    - `workspaceId` string
    - `name` string
    - `description` string
    - `createdAt` string, date-time
    - `updatedAt` string, date-time
  - `message` string

## Other responses

- `400`: Bad request - Invalid input
- `401`: Unauthorized

---

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