Datasets

Create dataset

POST
Returns 201 if successful

Request

This endpoint expects a multipart form with multiple files.
namestringRequired
Name of the Dataset to be created
feature_typesoptional file
labels_filefile

Response

This endpoint returns an object
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 \
2 -H "X-Hume-Api-Key: <apiKey>" \
3 -H "Content-Type: multipart/form-data" \
4 -F name="name" \
5 -F feature_types=@<file1> \
6 -F labels_file=@<file1>
200Successful
1{
2 "name": "name",
3 "id": "id",
4 "latest_version": {
5 "id": "id",
6 "user_id": "user_id",
7 "labels_file_uri": "labels_file_uri",
8 "feature_types": {
9 "feature_types": "CATEGORICAL"
10 },
11 "dataset_id": "dataset_id",
12 "dataset_version": 1,
13 "created_on": 1
14 },
15 "modified_on": 1,
16 "metadata": {
17 "metadata": {
18 "metadata": {
19 "key": "value"
20 }
21 }
22 }
23}