Dashboard
Jobs Overview
Get job count statistics grouped by status for a given date range.
GET/api/v1/workspace/dashboard/jobs-overview
Query Parameters
| Parameter | Required | Type | Description |
|---|---|---|---|
fromTime | Required | long | Start of date range (Unix ms) |
toTime | Required | long | End of date range (Unix ms) |
Example
Request
curl -X GET \
"https://live.fleetwork.vn/api/v1/workspace/dashboard/jobs-overview?fromTime=1713139200000&toTime=1713225600000" \
-H "API-KEY: <your-key>"Response
{
"code": "OK",
"message": null,
"data": {
"totalJobs": 42,
"completedJobs": 28,
"inProgressJobs": 5,
"newJobs": 6,
"scheduledJobs": 3,
"failedJobs": 0,
"completedJobsPercentage": 66.67
}
}