Previous
Hot data store
You can download machine data to your computer with the Viam CLI.
If you prefer to manage your data with code, see the data client API documentation.
To export your data from the cloud using the Viam CLI:
Filter the data you want to download
Navigate to the DATA page.
Use the filters on the left side of the page to filter the data you wish to export.
Copy the export command from the DATA page
In the upper right corner of the DATA page, click the Export button.
Click Copy export command. This copies the command, including your org ID and the filters you selected, to your clipboard.
Run the command
Run the copied command in a terminal:
viam data export binary filter --org-ids=<org-id> --destination=.
By default, the command creates two new directories named data and metadata in the destination directory.
It downloads binary files into the data folder and metadata (bounding box information, labels) in JSON format into the metadata folder.
Since data is downloaded in parallel, the order is not guaranteed to be chronological. Sort your files by filename to see them in chronological order.
viam data export tabular --destination=. --part-id=<part-id> --resource-name=<resource-name> --resource-subtype=<resource-subtype> --method=<method>
The tabular export command writes a single data.ndjson file in NDJSON (newline-delimited JSON) format to the destination directory.
If you want to store the data in a different location, change the destination with the --destination flag.
You can see more information about exporting data in the Viam CLI documentation.
Was this page helpful?
Glad to hear it! If you have any other feedback please let us know:
We're sorry about that. To help us improve, please tell us what we can do better:
Thank you!