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
$curl -X POST https://api.hume.ai/v0/registry/datasets \
> -H "X-Hume-Api-Key: <apiKey>" \
> -H "Content-Type: multipart/form-data" \
> -d '{
> "name": "name"
>}'
Response
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}