Add Datapoints from a CSV file to a Dataset.
This will create a new committed version of the Dataset with the Datapoints from the CSV file.
If either version_id
or environment
is provided, the new version will be based on the specified version,
with the Datapoints from the CSV file added to the existing Datapoints in the version.
If neither version_id
nor environment
is provided, the new version will be based on the version
of the Dataset that is deployed to the default Environment.
Unique identifier for the Dataset
ID of the specific Dataset version to base the created Version on.
Name of the Environment identifying a deployed Version to base the created Version on.
Commit message for the new Dataset version.
Successful Response
Path of the Dataset, including the name, which is used as a unique identifier.
Unique identifier for the Dataset. Starts with ds_
.
Name of the Dataset, which is used as a unique identifier.
Unique identifier for the specific Dataset Version. If no query params provided, the default deployed Dataset Version is returned. Starts with dsv_
.
The status of the Dataset Version.
The number of Datapoints in this Dataset version.
ID of the directory that the file is in on Humanloop.
The list of environments the Dataset Version is deployed to.
The user who created the Dataset.
Message describing the changes made. If provided, a committed version of the Dataset is created. Otherwise, an uncommitted version is created.
The list of Datapoints in this Dataset version. Only provided if explicitly requested.
Additional fields to describe the Dataset. Helpful to separate Dataset versions from each other with details on how they were created or used.