Skip to main content

getSettings

client.knowledge.getSettings(id: string): Promise<KnowledgeCollectionSettings>

Retrieves the settings for a knowledge collection.

Returns the collection's chunking configuration, embedding settings, and other processing parameters.

Parameters

ParameterTypeRequiredDescription
idstringYesThe unique identifier of the collection

Returns

Promise<KnowledgeCollectionSettings> — A promise that resolves to the

Example

import { CodeBoltClient } from '@codebolt/clientsdk';

const client = new CodeBoltClient();

const result = await client.knowledge.getSettings('id');
console.log(result);