FleetWorkAPI Docs
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

FieldDescription
totalDriversAll drivers tracked today
readyDriversOnline, no active task
inProgressDriversCurrently executing a task
stopDriversTotal stopped (= stopTooLong + stopByBreak + stopIdle)
stopTooLongDriversStopped at location longer than threshold
stopByBreakDriversStopped for a scheduled break
stopIdleDriversStopped with no activity
disconnectDriversNot 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
  }
}

On this page