Skip to main content
POST
Prepare train set upload

Authorizations

Authorization
string
header
required

Bearer token for authentication, obtained after signing up and generating an API key.

Body

application/json
x_train_info
FileInfo · object
required
y_train_info
FileInfo · object
required
description
string | null
force_reupload
boolean
default:false

Whether to force the upload of the file even if a file with the same hash already exists.

Response

Successful Response

train_set_upload_id
string<uuid>
required
x_train_info
FileUploadInfo · object
required
y_train_info
FileUploadInfo · object
required