Skip to main content

Datasets API

Datasets are tabular, image, spectral, time-series, or mixed-format data files linked to a lab’s experiments. Each dataset has a version history and can be published to HuggingFace via the lab’s publish pipeline.

List Datasets

labId
string
required
Convex ID of the lab.
datasets
object[]
required
All datasets for the lab.

Create Dataset

labId
string
required
Convex lab ID.
name
string
required
Dataset name.
format
string
required
File format (e.g., parquet, fits).
description
string
Human-readable description.
recordCount
number
Row/sample count.
sizeBytes
number
File size in bytes.
datasetType
string
Type classification. One of tabular, image, text, spectral, timeseries, mixed.
experimentId
string
Convex experiment ID to link.
id
string
required
New dataset Convex ID.
version
string
Initial version (v1.0).