v51

OpenAPI 3.1.0Apache 2.0raw.githubusercontent.com2026-08-01308532588.1 KB
Datasets

Restore dataset to a previous version

Restores the dataset to a previous version state by creating a new version with items copied from the specified version. If the version is already the latest, returns it as-is (no-op).

post/v1/private/datasets/{id}/versions/restore

Path parameters

idstring uuid required

Request body

version_refstring required

Version hash or tag to restore from

Response

Version restored successfully

idstring uuid
dataset_idstring uuid
version_hashstring
tagsstring[]
is_latestboolean

Indicates whether this is the latest version of the dataset

version_namestring

Sequential version name formatted as 'v1', 'v2', etc.

items_totalinteger

Total number of items in this version

items_addedinteger

Number of items added since last version

items_modifiedinteger

Number of items modified since last version

items_deletedinteger

Number of items deleted since last version

change_descriptionstring
metadataobject
created_atstring date-time
created_bystring
last_updated_atstring date-time
last_updated_bystring