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
| Parameter | Type | Required | Description |
|---|---|---|---|
name | string | No | New name for the dataset. |
short_description | string | No | Updated short description (maximum 1024 characters). |