v

latestOpenAPI 3.1.0raw.githubusercontent.com2026-08-08110293557.5 KB
datasets

Update a dataset split

patch/v1/datasets/{dataset_identifier}/splits/{split_id}

Path parameters

dataset_identifierstring required

The dataset identifier: either dataset ID or dataset name.

The dataset identifier: either dataset ID or dataset name.

split_idstring required

The ID (GlobalID) of the dataset split.

The ID (GlobalID) of the dataset split.

Request body

namestring nullable

A new unique name for the split.

descriptionstring nullable

A new description, or null to clear it.

colorstring nullable

A new hex color for the split.

metadataobject nullable

New JSON metadata that replaces the existing metadata.

add_example_idsstring[]

Dataset example IDs (GlobalIDs) to add to the split. Each example must belong to this dataset. Adding an example already in the split is a no-op.

remove_example_idsstring[]

Dataset example IDs (GlobalIDs) to remove from the split.

Response

Successful Response