---
title: "create knowledge group"
method: POST
path: "/v1/knowledge/groups"
tags: ["Knowledge"]
---

# create knowledge group

`POST /v1/knowledge/groups`

Create a new knowledge group

## Request body

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

## Response `201`

Successfully created knowledge group

- KnowledgeGroup — A folder of documents that a persona can search via RAG tools.
  - `id` string, uuid — Unique identifier for the knowledge group.
  - `name` string — Human-readable name for the group.
  - `description` string, nullable — Free-form description of what the group contains.
  - `documentCount` integer — Number of non-deleted documents currently in the group.
  - `createdAt` string, date-time — Timestamp when the group was created.
  - `updatedAt` string, date-time, nullable — Timestamp when the group was last updated.

## Other responses

- `400` — Bad request - Invalid data
- `401` — Unauthorized - Invalid or missing API key
- `403` — Forbidden - API key lacks the required permission
- `500` — Server error

---

[API](https://skmtc.net/anam/apis/anam-ai-api.md) · [All operations](https://skmtc.net/anam/apis/anam-ai-api/llms.txt) · [OpenAPI document](https://skmtc-service-staging.skmtc.workers.dev/v1/apis/anam/anam-ai-api/versions/67afd1c5db59/schema)
