GET /api/v1/report/?format=xlsx
Generate a comprehensive Excel workbook for data analysts with multiple sheets containing summary metrics, operator logs, and raw sensor data.Path Parameters
Asset identifier (e.g.,
Motor-01)Query Parameters
Must be
xlsxResponse
Returns an Excel (.xlsx) file download with 3 sheets:- Summary Sheet: Health metrics and risk assessment
- Operator Logs Sheet: Maintenance event history
- Sensor Data Sheet: Raw time-series sensor readings
Example
cURL
Python
File Naming
Downloaded files follow the pattern:health-report_Motor-01_2026-03-02T10-30-00Z.xlsx
Workbook Contents
Sheet 1: Summary
| Column | Description |
|---|---|
Asset ID | Asset identifier |
Timestamp | Report generation time |
Health Score | 0-100 health score |
Risk Level | LOW/MODERATE/HIGH/CRITICAL |
Degradation Index | Cumulative damage (0.0-1.0) |
Damage Rate | DI change per hour |
RUL (hours) | Remaining useful life estimate |
Maintenance Window | Days until service recommended |
Anomaly Batches | Lifetime count of anomalous 1s windows |
Sheet 2: Operator Logs
| Column | Description |
|---|---|
Timestamp | Event timestamp |
Event Type | Maintenance activity type |
Severity | LOW/MEDIUM/HIGH/CRITICAL |
Description | Free-text event description |
Operator Name | Person who logged the event |
GET /api/logs?hours=24.
If no operator logs exist for the asset, this sheet will be empty with headers only.
Sheet 3: Sensor Data
| Column | Description |
|---|---|
Timestamp | Measurement timestamp (ISO 8601) |
Voltage (V) | Voltage in volts |
Current (A) | Current in amperes |
Power Factor | Power factor (0-1) |
Vibration (g) | Vibration in g-force |
Power (kW) | Computed power in kilowatts |
Anomaly Score | ML model output (0.0=Normal, 1.0=Anomalous) |
Use Cases
Trend Analysis
Import into Python/R for statistical analysis
Correlation Studies
Cross-reference operator logs with sensor anomalies
Compliance Audits
Provide raw data for regulatory reviews
ML Training
Export labeled data for supervised learning
Status Codes
200- Workbook generated successfully404- Asset not found or no health data available503- Excel generation failed
Related Endpoints
Executive PDF
1-page summary for managers
Industrial PDF
5-page technical certificate