Validate DataLens dataset
datalens_datasets_validateValidate a DataLens dataset or test proposed changes without saving. Returns resulting dataset with code, message, and dataset_errors to catch errors before applying edits.
Instructions
Check a dataset, or changes to it, without saving anything.
The reply is the dataset as it would be, with code, message and dataset_errors.
Give the content as last read: after a save, content of an older revision is refused.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| data | Yes | The content to check (`dataset`) and the changes to try on it (`updates`). Its schema is not listed here: read `DatasetValidate` with schema_get(service="datalens", name="DatasetValidate"), then the definitions it refers to. | |
| dataset_id | Yes | Dataset id. | |
| workbook_id | No | The workbook the dataset lies in. | |
| binded_dataset_id | No | A dataset bound to this one. |