Create Dataset

Create a new dataset

Authentication

AuthorizationBearer

Bearer authentication of the form Bearer <token>, where token is your auth token.

Request

This endpoint expects an object.
namestringRequiredformat: "^[a-zA-Z0-9_]+$">=1 character
Name of the dataset, must be unique per organization and must only contain alphanumeric and underscore characters.
encoder_nameenumRequired
The model used to extract visual and audio features from assets.
dataset_idstring or nullOptionalformat: "uuid"

A known dataset ID; for internal use only during migration

add_to_permitbooleanOptionalDefaults to true
Flag to use for adding dataset to permit as a resource or not
descriptionstring or nullOptional
A short summary of what the dataset includes or is intended for.
allowed_asset_typeslist of enumsOptional
Types of assets allowed in this dataset.
keyframe_sampling_methodenumOptional
Sampling method to extract keyframes from videos in dataset.
store_originalbooleanOptionalDefaults to true
Whether to store original files.
store_previewbooleanOptionalDefaults to true
Whether to store preview versions.
metadata_fields_to_indexlist of strings or nullOptional
The metadata fields to index for the dataset.
metadata_fields_to_embedlist of strings or nullOptional
The metadata fields to embed for the dataset.
dataset_configobject or nullOptional
keyframe_uniform_fps_sampling_ratedouble or nullOptional0.00001-5Deprecated

If using uniform sampling method, number of keyframes/sec to sample from videos (allowed values: ≥ .00001 to 5 fps).

Response

Successful Response
created_dtstringformat: "date-time"
The created datetime of the resource in ISO 8601 format.
created_bystring
ID of the user who added the asset to the dataset.
idstringformat: "uuid"
The unique identifier for the dataset.
namestring
Name of the dataset, must be unique per organization and must only contain alphanumeric and underscore characters.
embeddingslist of objects
The encoders of the dataset.
encoderslist of objects
The encoders of the dataset.
descriptionstring or null
A short summary of what the dataset includes or is intended for.
allowed_asset_typeslist of enums
Types of assets allowed in this dataset.
statusenum or null
The status of the dataset.
keyframe_sampling_methodenum
Sampling method to extract keyframes from videos in dataset.
store_originalboolean
Whether the original file is stored.
store_previewboolean
Whether preview files are stored.
updated_dtstring or nullformat: "date-time"
The datetime the resource was last updated in ISO 8601 format.
updated_bystring or null
ID of the user who last updated the asset.
deleted_dtstring or nullformat: "date-time"
Timestamp if the resource was deleted.
deleted_bystring or null
ID of the user who deleted the resource.
keyframe_uniform_fps_sampling_ratedouble or null
FPS rate used for uniform sampling.
metadata_fields_to_indexlist of strings or null
The metadata fields to index for the dataset.
metadata_fields_to_embedlist of strings or null
The metadata fields to embed for the dataset.
dataset_configobject or null

Errors

422
Unprocessable Entity Error