Skip to main content
POST
/
v1
/
datasets
/
splits
Create Dataset Split
curl --request POST \
  --url https://api.getmaxim.ai/v1/datasets/splits \
  --header 'Content-Type: application/json' \
  --header 'x-maxim-api-key: <api-key>' \
  --data '{
  "name": "<string>",
  "description": "<string>",
  "datasetId": "<string>",
  "rows": [
    123
  ]
}'
"<any>"

Authorizations

x-maxim-api-key
string
header
required

API key for authentication

Body

application/json
name
string
required

Name of the dataset split

datasetId
string
required

Unique identifier for the dataset

description
string

Description of the dataset split

rows
number[]

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

Response

Dataset split created successfully

The response is of type any.

I