v

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

Create a dataset split

post/v1/datasets/{dataset_identifier}/splits

Path parameters

dataset_identifierstring required

The dataset identifier: either dataset ID or dataset name.

The dataset identifier: either dataset ID or dataset name.

Request body

namestring required

A unique name for the split.

descriptionstring nullable

An optional description of the split.

colorstring nullable

An optional hex color for the split (e.g. #33c5e8). Omit for a default.

metadataobject

Arbitrary JSON metadata for the split.

example_idsstring[]

Optional dataset example IDs (GlobalIDs) to seed the split with. Each example must belong to this dataset. Omit to create an empty split.

Response

Successful Response