Datasets resource provides methods to create, retrieve, and list datasets, as well as manage dataset items and sequences.
Methods
list
List all datasets with optional filtering.Filter datasets by data type
Filter datasets by name
Filter datasets by status
Filter datasets by visibility (e.g., “private”, “public”)
Maximum number of datasets to return per page
Pagination cursor for fetching the next page of results
A paginated list of datasets. Use
.items to access the dataset list, .next_cursor for pagination, and .has_more to check if more results exist.Example
get
Retrieve a specific dataset by its UID.The unique identifier of the dataset
The dataset object containing uid, name, slug, item_count, data_type, and timestamps.
Example
create
Create a new dataset.The human-readable name of the dataset
The URL-friendly identifier for the dataset
The type of data stored in the dataset (e.g., “image”, “video”, “point_cloud”)
Whether the dataset contains sequential data
The visibility level of the dataset (“private” or “public”)
Whether to automatically create metadata for dataset items
Configuration for the storage provider
The name of the dataset owner (defaults to the authenticated user)
The newly created dataset object.
Example
list_items
List all items in a specific dataset.The owner of the dataset
The slug of the dataset
Maximum number of items to return per page
Pagination cursor for fetching the next page of results
A paginated list of dataset items.
Example
get_item
Retrieve a specific item from a dataset.The owner of the dataset
The slug of the dataset
The unique identifier of the item
The dataset item object containing uid, url, metadata, annotations, and related fields.
Example
list_sequences
List all sequences in a dataset.The owner of the dataset
The slug of the dataset
Maximum number of sequences to return per page
Pagination cursor for fetching the next page of results
A paginated list of dataset sequences.
Sequences are only available for datasets created with
is_sequence=True.Example
get_sequence
Retrieve a specific sequence from a dataset.The owner of the dataset
The slug of the dataset
The unique identifier of the sequence
The dataset sequence object containing uid, frames, views, crop_data, and related fields.
Example
Async Usage
All methods are available in async form viaclient.async_datasets:
Response Types
Dataset
Unique identifier for the dataset
Human-readable name of the dataset
URL-friendly identifier
Total number of items in the dataset
Type of data in the dataset
Timestamp when the dataset was created
Timestamp when the dataset was last updated
DatasetItem
Unique identifier for the item
URL to access the item data
Custom metadata associated with the item
Annotation data for the item
List of thumbnail URLs
DatasetSequence
Unique identifier for the sequence
Total number of frames in the sequence
List of frame data
Different views or perspectives of the sequence
CursorPage
List of items in the current page
Cursor for fetching the next page (None if no more pages)
Cursor for fetching the previous page
Property indicating if more results are available