Method
createDatasetVersionFromUpload POST
Copy POST

Creates a new version of the specified dataset using a local file upload.

Arguments:

REQUIRED KEY TYPE DESCRIPTION
Yes datasetId str Unique string identifier associated with the dataset.
No fileFormat str File format to be used. If not specified, the service will attempt to detect the file format.
Note: The arguments for the API methods follow camelCase but for Python SDK underscore_case is followed.

Response:

KEY TYPE DESCRIPTION
success Boolean true if the call succeeded, false if there was an error
result Upload
KEY TYPE Description
uploadId str The unique ID generated when the upload process of the full large file in smaller parts is initiated.
datasetUploadId str Same as upload_id. It is kept for backwards compatibility purposes.
status str The current status of the upload.
datasetId str A reference to the dataset this upload is adding data to.
datasetVersion str A reference to the dataset version the upload is adding data to.
modelId str A reference the model the upload is creating a version for
modelVersion str A reference to the model version the upload is creating.
batchPredictionId str A reference to the batch prediction the upload is creating.
parts List[dict] A list containing the order of the file parts that have been uploaded.
createdAt str The timestamp at which the upload was created.

Exceptions:

TYPE WHEN
DataNotFoundError

datasetId is not found.

InvalidEnumParameterError

An invalid value is passed for fileFormat.

Language: