curl --request GET \
--url http://localhost:3000/v1/scanner/insights{
"insights": {
"totalHours": 123,
"totalShifts": 123,
"averageHoursPerShift": 123,
"laborCost": 123,
"scheduledVsActual": {
"scheduled": 123,
"actual": 123
},
"topAreas": [
{
"name": "<string>",
"hours": 123
}
],
"weeklyHours": [
{
"day": "<string>",
"hours": 123
}
]
},
"deputy_configured": true,
"message": "<string>",
"error": "<string>"
}Returns workforce insights from Deputy for the specified period.
curl --request GET \
--url http://localhost:3000/v1/scanner/insights{
"insights": {
"totalHours": 123,
"totalShifts": 123,
"averageHoursPerShift": 123,
"laborCost": 123,
"scheduledVsActual": {
"scheduled": 123,
"actual": 123
},
"topAreas": [
{
"name": "<string>",
"hours": 123
}
],
"weeklyHours": [
{
"day": "<string>",
"hours": 123
}
]
},
"deputy_configured": true,
"message": "<string>",
"error": "<string>"
}