Download batch metrics for an asset
GET/assets/:uid/batch-data
Downloads historical metric data for the specified asset as a ZIP archive (or CSV as a fallback). The data is retrieved from the edge device through the Fuzz Secure link.
The response is a binary file attachment containing metric readings within the specified time range.
If the edge device supports ZIP export, a .zip file is returned; otherwise, a .csv file is provided as a fallback.
Query Parameters
- from: Start of the time range (inclusive). If omitted, no lower bound is applied.
- to: End of the time range (inclusive). If omitted, no upper bound is applied.
- metrics: Comma-separated list of metric IDs to include. If omitted, all available metrics are returned.
Available Metric IDs
See the metric reference in the "Get real-time data for an asset" endpoint for a full list of supported metric IDs.
Request
Responses
- 200
- 401
- 403
- 404
- 502
Metrics downloaded successfully as a ZIP or CSV file.
Unauthorized — invalid or missing OAuth2 token.
Forbidden — no read access to the site containing this asset.
Asset not found.
Unable to reach the edge device through the secure link.