FleetWorkAPI Docs
Dashboard

Live Statistic

Get today's job and task completion stats per driver, including distance and fuel usage.

GET/api/v1/workspace/dashboard/live-statistic

No query parameters required — date range is determined automatically from the account's timezone.

Example

Request

curl -X GET \
  "https://live.fleetwork.vn/api/v1/workspace/dashboard/live-statistic" \
  -H "API-KEY: <your-key>"

Response

{
  "code": "OK",
  "message": null,
  "data": [
    {
      "userId": "d4f5a6b7-8c9d-4e0f-a1b2-c3d4e5f6a7b8",
      "name": "Nguyễn Văn A",
      "email": "driver.a@company.com",
      "completedJobs": 2,
      "totalJobs": 3,
      "completionPercentage": 66.67,
      "completedTasks": 8,
      "totalTasks": 12,
      "completionTaskPercentage": 66.67,
      "fuelUsage": 4.2,
      "distanceTravelled": 52.5,
      "timeTravelled": 1.05
    }
  ]
}

On this page