The Reports API gives operations managers and dispatchers a data-driven view into fleet performance. You can pull pre-built load summaries, driver performance breakdowns, and revenue analyses, or generate a custom report with your own parameters. Completed reports can be exported to PDF or Excel. A companion controller lets you manually trigger the ETA recalculation job when you need up-to-date arrival estimates outside the normal schedule.Documentation Index
Fetch the complete documentation index at: https://mintlify.com/ShohjahonSohibov/repo-for-agent/llms.txt
Use this file to discover all available pages before exploring further.
ReportsController — /api/reports
Business intelligence and reporting. All endpoints require JWT authentication.
GET /api/reports/load-summary
Return aggregate load statistics for the current company — including counts by status, total weight carried, and completion rates — for a given date range. Required permission:Reports.View
Start of the date range in ISO 8601 format (e.g.,
2026-01-01).End of the date range in ISO 8601 format (e.g.,
2026-05-11).Filter by a specific company. Defaults to the authenticated user’s company.
cURL
Response
GET /api/reports/driver-performance
Return per-driver performance metrics such as on-time delivery rate, average delay, and number of loads completed in the period. Required permission:Reports.View
Start of the reporting period in ISO 8601 format.
End of the reporting period in ISO 8601 format.
Filter to a single driver. Omit to return all drivers.
cURL
Response
GET /api/reports/revenue-analysis
Return revenue breakdown data for the current company — total billed, average revenue per load, and revenue grouped by broker. Required permission:Reports.View
Start of the reporting period in ISO 8601 format.
End of the reporting period in ISO 8601 format.
cURL
POST /api/reports/custom
Generate a custom report by specifying the metrics and dimensions you want. The report is stored server-side and areportId is returned so you can export it.
Required permission: Reports.View
List of metric names to include (e.g.,
["loadCount", "revenue", "averageDelay"]).Group-by dimensions (e.g.,
["driverId", "brokerId"]).Start of the reporting period in ISO 8601 format.
End of the reporting period in ISO 8601 format.
Unique identifier for the generated report. Pass this to
GET /api/reports/export/{reportId} to download.The report rows matching the requested metrics and dimensions.
cURL
GET /api/reports/export/{reportId}
Export a previously generated report to PDF or Excel. Use theformat query parameter to select the output format.
Required permission: Reports.Export
The report ID returned from
POST /api/reports/custom or another report endpoint.Export format:
pdf (default) or excel.cURL
Supported export formats are PDF and Excel (
.xlsx). The response Content-Type is application/pdf or application/vnd.openxmlformats-officedocument.spreadsheetml.sheet respectively.EtaBackgroundJobsController — /api/eta-jobs
Manually trigger ETA recalculation jobs outside the normal background job schedule. Use these endpoints when you need immediate ETA updates — for example, after rerouting a driver or correcting stop data.
POST /api/eta-jobs/calculate
Trigger an ETA calculation for a single load. Required permission:EtaJobs.Execute
The load ID to recalculate ETA for.
cURL
POST /api/eta-jobs/calculate-all
Trigger ETA recalculation for all loads currently in-transit. This is useful after a routing engine change or a bulk rerouting event. Required permission:EtaJobs.Execute
cURL
Most list endpoints in the Reports API support pagination via
page and pageSize query parameters. The default page size is 20 and the maximum is 100.