---
title: "Create Category"
method: POST
path: "/knowledge-base/categories"
---

# Create Category

`POST /knowledge-base/categories`

## Request

- Base URL: `https://api.traversal.com` (the document declares no server; this is the origin it was published from)
- URL: `https://api.traversal.com/knowledge-base/categories`
- Auth: none declared

Create a new knowledge base category.

## Request body

- CreateKnowledgeBaseCategoryRequest: Request payload for creating a knowledge base category.
  - `label` string, required
  - `description` string, required

## Response `200`

Successful Response

- KnowledgeBaseCategoryInfo: Information about a knowledge base category.
  - `id` string, required
  - `label` string, nullable, required
  - `description` string, nullable, required
  - `enabledCount` integer
  - `totalCount` integer
  - `countsByOrigin` object

## Other responses

- `422`: Validation Error

---

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