Dataset Commands: dataset
Commands
| Command | Usage | Description |
|---|---|---|
list | bohr dataset list [flags] | List and filter datasets |
get | bohr dataset get <id> | Get dataset details |
versions | bohr dataset versions <id> | List dataset versions |
create | bohr dataset create [flags] | Create a dataset and upload local data |
download | bohr dataset download <dataset-id> [flags] | Download a version with resume support |
delete | bohr dataset delete <datasetId>... | Delete datasets |
List and inspect
bohr dataset list -n 10
bohr dataset list --projectId 123 --title training -o json
bohr dataset get 456
bohr dataset versions 456
--projectId has no -p shorthand. Use -n, --number to control the number of rows and -t, --title to search by title.
Create and upload
bohr dataset create \
--name training-data \
--path training-data \
--pid 123 \
--lp ./data \
--comment "Training inputs"
The local path flag is -l, --lp; it accepts one local path. If an upload is interrupted, rerun with --resume. Adjust parallel uploads with --upload-concurrency (default 5).
Download
bohr dataset download 456 --version-id 789 --dest ./training-data.zip
The command supports resumable downloads. --force allows replacement of an existing destination or partial file, so use it carefully.
Delete
bohr dataset delete 456 457
Deletion is destructive and requires confirmation. Preview with --dry-run when automating.