GuideLab API

List printers

Retrieves the list of printers for the current lab. Joins room and current batch.

GET
/production/printers

Retrieves the list of printers for the current lab. Joins room and current batch.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Query Parameters

roomId?string
includeInactive?||
Defaultfalse

Response Body

application/json

curl -X GET "https://example.com/production/printers"
{  "printers": [    {      "id": "string",      "labId": "string",      "roomId": "string",      "name": "string",      "model": "string",      "material": "string",      "status": "idle",      "currentBatchId": "string",      "sortOrder": 0,      "isActive": true,      "createdAt": "string",      "updatedAt": "string",      "room": {        "id": "string",        "name": "string",        "color": "string"      },      "currentBatch": {        "id": "string",        "name": "string",        "status": "string",        "startedAt": "string",        "orderItems": [          {            "id": "string",            "orderId": "string",            "orderNumber": "string",            "productName": "string",            "material": "string"          }        ]      }    }  ]}
Empty