Reports
Generate and download fleet summaries, OEE reports, maintenance logs, and downtime analyses in PDF and CSV formats.
Fleet summary (PDF)
GET /reports/fleet-summary
Auth: Bearer JWT (any role)
| Parameter | Type | Default | Range |
|---|---|---|---|
days | int | 30 | 1-365 |
curl -o fleet-summary.pdf \
"https://api.haltless.io/api/v1/reports/fleet-summary?days=30" \
-H "Authorization: Bearer YOUR_TOKEN"
Response: application/pdf
OEE report (CSV)
GET /reports/oee
| Parameter | Type | Default |
|---|---|---|
days | int | 30 |
Maintenance report (CSV)
GET /reports/maintenance
Downtime report (CSV)
GET /reports/downtime
Work orders report (CSV)
GET /reports/work-orders
Report templates
Save reusable report configurations.
List templates
GET /reports/templates
Create a template
POST /reports/templates
Auth: Bearer JWT (admin, operator)
{
"name": "Monthly Fleet Review",
"report_type": "fleet",
"format": "pdf",
"days": 30
}
Report types: fleet, oee, maintenance, downtime, work_orders
Formats: pdf, csv
Delete a template
DELETE /reports/templates/{template_id}
Scheduled reports
Configure automatic report delivery:
GET /settings/report-schedule
PATCH /settings/report-schedule
{
"report_schedule": "weekly",
"report_email": "reports@yourcompany.com"
}
Schedules: daily, weekly, monthly, or null (disabled)