GuideLab API

Get production statistics overview

Returns a minimal production statistics overview computed from the activity log. Detailed per-room / per-member breakdowns are TODO under the new task model.

GET
/production/statistics/overview

Returns a minimal production statistics overview computed from the activity log. Detailed per-room / per-member breakdowns are TODO under the new task model.

Authorization

__Secure-guidelab-prod.session_token<token>

Production session cookie set for the guidelab.co domain by Better Auth

In: cookie

Query Parameters

startDate?string
endDate?string

Response Body

application/json

application/json

curl -X GET "https://example.com/production/statistics/overview"
{  "overview": {    "totalTasks": 0,    "completedTasks": 0,    "inProgressTasks": 0,    "pendingTasks": 0,    "averageCompletionTime": 0,    "capacityUsage": 0  },  "byRoom": [],  "byMember": [],  "dailyTrend": [    {      "date": "string",      "completed": 0,      "total": 0    }  ],  "dateRange": {    "startDate": "string",    "endDate": "string"  }}
{  "error": "string",  "code": "ORGANIZATION_CONFIGURATION_INVALID"}