Skip to main content

Update Dataset

Update dataset metadata (name and/or short description) using the Knowledgator TypeScript SDK.


Example Usage​

import { createClient } from '@knowledgator/typescript-sdk';

const kg = createClient();

const updated = await kg.datasets.update('your-dataset-id', {
name: 'renamed_dataset',
short_description: 'Updated description'
});
console.log(updated);

Request Parameters​

ParameterTypeRequiredDescription
namestringNoNew name for the dataset.
short_descriptionstringNoUpdated short description (maximum 1024 characters).