You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
|`--dataset-id`| Dataset to perform an operation on. To retrieve the ID, navigate to your dataset’s page in the [Viam app](https://app.viam.com), click **…** in the left-hand menu, and click **Copy dataset ID**|`rename`, `delete`, `data add`, `data remove`, `export`|**Required**|
358
-
|`--dataset-ids`| Dataset IDs of datasets to be listed. To retrieve these IDs, navigate to your dataset’s page in the [Viam app](https://app.viam.com), click **…** in the left-hand menu, and click **Copy dataset ID**|`list`| Optional |
357
+
|`--dataset-id`| Dataset to perform an operation on. To retrieve the ID, navigate to your dataset's page in the [Viam app](https://app.viam.com), click **…** in the left-hand menu, and click **Copy dataset ID**|`rename`, `delete`, `data add`, `data remove`, `export`|**Required**|
358
+
|`--dataset-ids`| Dataset IDs of datasets to be listed. To retrieve these IDs, navigate to your dataset's page in the [Viam app](https://app.viam.com), click **…** in the left-hand menu, and click **Copy dataset ID**|`list`| Optional |
359
359
|`--destination`| Output directory for downloaded data |`export`|**Required**|
360
360
|`--end`| ISO-8601 timestamp indicating the end of the interval |`data add`, `data remove`| Optional |
361
361
|`--file-ids`| The file-ids of the files to perform an operation on |`data add`, `data remove`, `export`|**Required**|
@@ -437,10 +437,10 @@ With it, you can export data in a variety of formats, delete specified data, add
437
437
viam data export binary --destination=<output path> [...named args]
438
438
viam data export tabular --destination=<destination> --part-id=<part-id> --resource-name=<resource-name> --resource-subtype=<resource-subtype> --method=<method> [other options]
439
439
viam data delete --org-ids=<org-ids> --start=<timestamp> --end=<timestamp> [...named args]
440
-
viam data database configure --org-id=<org-id> --password=<db-user-password>
441
-
viam data database hostname --org-id=<org-id>
442
-
viam data tag ids add --tags=<tags> --org-id=<org_id> --location-id=<location_id> --file-ids=<file_ids>
443
-
viam data tag ids remove --tags=<tags> --org-id=<org_id> --location-id=<location_id> --file-ids=<file_ids>
440
+
viam data database configure --org=<org-id> --password=<db-user-password>
441
+
viam data database hostname --org=<org-id>
442
+
viam data tag ids add --tags=<tags> --org=<org_id> --location-id=<location_id> --file-ids=<file_ids>
443
+
viam data tag ids remove --tags=<tags> --org=<org_id> --location-id=<location_id> --file-ids=<file_ids>
444
444
viam data tag filter add --tags=<tags> [...named args from filter]
445
445
viam data tag filter remove --tags=<tags> [...named args from filter]
446
446
```
@@ -459,16 +459,16 @@ viam data delete binary --org-ids=123 --mime-types=image/jpeg --start 2024-08-20
459
459
460
460
# configure a database user for the Viam organization's MongoDB Atlas Data
461
461
# Federation instance, in order to query tabular data
462
-
viam data database configure --org-id=abc --password=my_password123
462
+
viam data database configure --org=<org-id> --password=my_password123
463
463
464
464
# get the hostname to access a MongoDB Atlas Data Federation instance
465
-
viam data database hostname --org-id=abc
465
+
viam data database hostname --org=<org-id>
466
466
467
467
# add tags to all data that matches the given ids
468
-
viam data tag ids add --tags=new_tag_1,new_tag_2,new_tag_3 --org-id=123 --location-id=123 --file-ids=123,456
468
+
viam data tag ids add --tags=new_tag_1,new_tag_2,new_tag_3 --org=123 --location-id=123 --file-ids=123,456
469
469
470
470
# remove tags from all data that matches the given ids
471
-
viam data tag ids remove --tags=new_tag_1,new_tag_2,new_tag_3 --org-id=123 --location-id=123 --file-ids=123,456
471
+
viam data tag ids remove --tags=new_tag_1,new_tag_2,new_tag_3 --org=123 --location-id=123 --file-ids=123,456
472
472
473
473
# add tags to all data that matches a given filter
474
474
viam data tag filter add --tags=new_tag_1,new_tag_2 --location-ids=012 --machine-name=cool-machine --org-ids=84842 --mime-types=image/jpeg,image/png
@@ -1229,15 +1229,15 @@ This includes:
1229
1229
1230
1230
```sh {class="command-line" data-prompt="$"}
1231
1231
viam machines list
1232
-
viam machines status --organization=<org name> --location=<location name> --machine=<machine id>
|`--organization`| Organization name or ID that the machine belongs to |`list`, `status`, `logs`, `part`| Optional |
1326
+
|`--org`| Organization name or ID that the machine belongs to |`list`, `status`, `logs`, `part`| Optional |
1327
1327
|`--location`| Location name or ID that the machine belongs to or to list machines in |`list`, `status`, `logs`, `part`| Optional |
1328
-
|`--machine`| Machine name or ID for which the command is being issued. If machine name is used instead of ID, `--organization` and `--location` are required. |`status`, `logs`, `part`| Optional |
1328
+
|`--machine`| Machine name or ID for which the command is being issued. If machine name is used instead of ID, `--org` and `--location` are required. |`status`, `logs`, `part`| Optional |
1329
1329
|`--errors`| Boolean, return only errors (default: false) |`logs`| Optional |
1330
1330
|`--levels`| Filter logs by levels (debug, info, warn, error). Accepts multiple inputs in comma-separated list. |`logs`| Optional |
1331
1331
|`--part`| Part name or ID for which the command is being issued |`logs`, `part`| Optional |
@@ -1375,18 +1375,18 @@ The `--stream` argument, when included in the CLI command prior to the `--data`
1375
1375
Manage training scripts for [custom ML training](/data-ai/ai/train/).
1376
1376
1377
1377
```sh {class="command-line" data-prompt="$"}
1378
-
viam training-script upload --framework=<framework> --org-id=<org-id> --path=<path-to-script> --script-name=<script-name> --type=<type>
1379
-
viam training-script update --org-id=<org-id> --script-name=<script-name> --visibility=<visibility>
1378
+
viam training-script upload --framework=<framework> --org=<org-id> --path=<path-to-script> --script-name=<script-name> --type=<type>
1379
+
viam training-script update --org=<org-id> --script-name=<script-name> --visibility=<visibility>
1380
1380
```
1381
1381
1382
1382
Examples:
1383
1383
1384
1384
```sh {class="command-line" data-prompt="$"}
1385
1385
# upload a single label classification script in the tflite framework to organization 123
1386
-
viam training-script upload --framework=tflite --org-id=123 --path=. --script-name=MyCustomTrainingScript --type=single_label_classification
1386
+
viam training-script upload --framework=tflite --org=123 --path=. --script-name=MyCustomTrainingScript --type=single_label_classification
1387
1387
1388
1388
# update MyCustomTrainingScript with public visibility
1389
-
viam training-script update --org-id=123 --script-name=MyCustomTrainingScript --visibility=public --description="A single label classification training script"
1389
+
viam training-script update --org=123 --script-name=MyCustomTrainingScript --visibility=public --description="A single label classification training script"
0 commit comments