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

Unique identifier of the knowledge group

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 documents processed in this group. Send null to reset it to the default of 350. Changing a default does not re-chunk existing documents; it applies the next time each document without its own override is processed or revectorised.

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

Default token overlap for documents processed in this group. Must be at most half of chunkSize, or at most 175 when chunkSize is not set. Send null to reset it to the default of 0. Changing a default does not re-chunk existing documents; it applies the next time each document without its own override is processed or revectorised.

Required range: 0 <= x <= 1000

Response

Successfully updated RAG group

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.