Dashboard
Driver Status Summary
Get a real-time count of drivers grouped by current status for today.
GET/api/v1/workspace/dashboard/driver-status-summary
No query parameters required — date is resolved from the account timezone automatically.
Response Fields
| Field | Description |
|---|---|
totalDrivers | All drivers tracked today |
readyDrivers | Online, no active task |
inProgressDrivers | Currently executing a task |
stopDrivers | Total stopped (= stopTooLong + stopByBreak + stopIdle) |
stopTooLongDrivers | Stopped at location longer than threshold |
stopByBreakDrivers | Stopped for a scheduled break |
stopIdleDrivers | Stopped with no activity |
disconnectDrivers | Not sending GPS signal |
Example
Request
curl -X GET \
"https://live.fleetwork.vn/api/v1/workspace/dashboard/driver-status-summary" \
-H "API-KEY: <your-key>"Response
{
"code": "OK",
"message": null,
"data": {
"totalDrivers": 12,
"readyDrivers": 3,
"inProgressDrivers": 5,
"stopDrivers": 2,
"disconnectDrivers": 2,
"stopTooLongDrivers": 1,
"stopByBreakDrivers": 0,
"stopIdleDrivers": 1
}
}