patch
https://api.superwise.ai/v1/datasets/
Update an existing Dataset
- payload (DatasetUpdate): Required. The payload that includes:
- name (str or None): Updated name of the dataset.
- description (str or None): A revised description about the dataset.
- id (str or None): Unique identifier of the dataset.
- model_version_id (str or None): Updated model version identifier.
- created_by (str or None): Identifier of the user who updated the dataset.
- tags (list of str or None): A list of updated tags related to the dataset.
- schema (SchemaUpdate or None): The updated schema of the dataset.
Recent Requests
Log in to see full request history
| Time | Status | User Agent | |
|---|---|---|---|
Retrieving recent requests… | |||
Loading…
Updates a dataset's name, description, or schema, and returns the updated dataset. All body fields are optional.
When to use it
Use it to rename a dataset or edit its schema. Schema changes, especially to data types, may result in historical data loss.
Required parameters
dataset_id(path): the ID of the dataset.
Optional body fields: name, description, schema.
Response
A successful call returns 200 OK with the DatasetResponse object: id, name, description, schema, tags, created_by, and timestamps.
Related: Get a dataset, Delete a dataset, Update a record in a dataset