Skip to main content
PUT
update knowledge group

Authorizations

Authorization
string
header
required

Bearer authentication header of the form Bearer <token>, where <token> is your auth token.

Path Parameters

id
string
required

Knowledge folder ID, from GET /v1/knowledge/groups

Body

application/json

Fields to update on the knowledge group. Omit a field to leave it unchanged.

name
string
description
string
chunkSize
integer | null

Default maximum tokens per chunk for this folder's documents; null resets it to 350. Existing documents keep their chunks until they are next processed or revectorised.

Required range: 100 <= x <= 2000
chunkOverlap
integer | null

Default token overlap between chunks, at most half of chunkSize (175 without one); null resets it to 0. Existing documents keep their chunks until they are next processed or revectorised.

Required range: 0 <= x <= 1000

Response

Successfully updated knowledge folder

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 | null

Free-form description of what the group contains.

documentCount
integer

Number of non-deleted documents currently in the group.

chunkSize
integer | null

Default maximum tokens per chunk for documents in this group. Null means documents use the default of 350.

chunkOverlap
integer | null

Default token overlap for documents in this group. Null means documents use the default of 0.

createdAt
string<date-time>

Timestamp when the group was created.

updatedAt
string<date-time> | null

Timestamp when the group was last updated.