Datasets

Create dataset version

POST
Returns 200 if successful

Path parameters

idstringRequired
Hume-generated ID of a Dataset

Request

This endpoint expects a multipart form with multiple files.
feature_typesoptional file
labels_filefile

Response

This endpoint returns a list of objects
name
string
Dataset name
id
stringOptional
Hume-generated Dataset ID
latest_version
objectOptional
modified_on
integerOptional
Updated date and time
metadata
map from strings to maps from strings to anyOptional
Additional details as key, value pairs
POST
1curl -X POST https://api.hume.ai/v0/registry/datasets/id \
2 -H "X-Hume-Api-Key: <apiKey>" \
3 -H "Content-Type: multipart/form-data" \
4 -F feature_types=@<file1> \
5 -F labels_file=@<file1>
200Successful
1[
2 {
3 "name": "name",
4 "id": "id",
5 "latest_version": {
6 "id": "id",
7 "user_id": "user_id",
8 "labels_file_uri": "labels_file_uri",
9 "feature_types": {
10 "feature_types": "CATEGORICAL"
11 },
12 "dataset_id": "dataset_id",
13 "dataset_version": 1,
14 "created_on": 1
15 },
16 "modified_on": 1,
17 "metadata": {
18 "metadata": {}
19 }
20 }
21]