Maxim Logo
Datasets/Splits

Create Dataset Split

Create dataset split

POST
/v1/datasets/splits

Authorization

x-maxim-api-key<token>

API key for authentication

In: header

Request Body

application/jsonOptional
nameRequiredstring

Name of the dataset split

descriptionstring

Description of the dataset split

datasetIdRequiredstring

Unique identifier for the dataset

rowsarray<number>

Rows of the dataset split. Pass a value of -1 to create an empty split

curl -X POST "https://api.getmaxim.ai/v1/datasets/splits" \
  -H "x-maxim-api-key: <token>" \
  -H "Content-Type: application/json" \
  -d '{
    "name": "string",
    "description": "string",
    "datasetId": "string",
    "rows": [
      0
    ]
  }'

Dataset split created successfully

null