GuideLab API

Get production settings

Retrieves the production configuration settings for the current lab. Returns an unpersisted default projection when no row exists; writes occur only through the manager-guarded update command.

GET
/production/settings

Retrieves the production configuration settings for the current lab. Returns an unpersisted default projection when no row exists; writes occur only through the manager-guarded update command.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Response Body

application/json

curl -X GET "https://example.com/production/settings"
{  "settings": {    "id": "string",    "labId": "string",    "isEnabled": true,    "cutoffTime": "string",    "bufferDays": 0,    "showPricesInOrderDetails": true,    "taskPageHeaders": {      "property1": true,      "property2": true    },    "excludedCategoryIds": [      "string"    ],    "excludedProductIds": [      "string"    ],    "useDoneDate": true,    "defaultUnitCapacity": 0,    "enableBarcodeScanning": true,    "organizeByDate": true,    "defaultSortField": "scheduledDate",    "defaultGroupBy": "room",    "createdAt": "string",    "updatedAt": "string",    "property1": null,    "property2": null  }}
Empty