Retrieves production statistics for the most recent active shift. If a stationId is provided, statistics are returned only for that station; otherwise, statistics for all stations are included. The backend determines the current active shift based on facility shift settings and returns its statistics. Only one shift's statistics are returned per request, including both current and target board feet metrics for each station.

SecurityBearer
Request
query Parameters
stationId
string

Optional station ID to filter statistics.

Responses
200

OK

401

Unauthorized

404

Not Found

500

Internal Server Error

get/company/{facilityId}/api/shift-statistics
Request samples
Response samples
application/json
{
  • "metadata": {
    },
  • "data": [
    ]
}