Skip to main content
POST
/
v1
/
projects
/
{project_id}
/
autosplit
Auto Split
curl --request POST \
  --url https://api.landing.ai/v1/projects/{project_id}/autosplit \
  --header 'Content-Type: application/json' \
  --data '{
  "splitPercentages": {
    "train": 123,
    "dev": 123,
    "test": 123
  },
  "selectOption": "all-labeled"
}'
"<any>"

Headers

apikey
string | null

Path Parameters

project_id
integer
required

Query Parameters

timeout
integer | null
default:60

Body

application/json
splitPercentages
object
required
selectOption
enum<string>
required

all-labeled takes all labeled images, whether they have a split or not. This option modifies the splits, which can be risky and inconvenient if you manually assigned the splits, as it will override your work.

without-split only takes the labeled images that do not yet have a split. It does not modify the splits already assigned to the images that previously had splits.

Available options:
all-labeled,
without-split

Response

Successful Response

The response is of type any.