GuideLab API

Batch Create Work Trays

Bulk-create work trays from a pattern and quantity. Generates sequentially numbered codes (e.g. TRAY001, TRAY002). Skips duplicates. Lab-only operation.

POST
/work-trays/batch

Bulk-create work trays from a pattern and quantity. Generates sequentially numbered codes (e.g. TRAY001, TRAY002). Skips duplicates. Lab-only operation.

Authorization

__Secure-guidelab-prod.session_token<token>

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

In: cookie

Request Body

application/json

TypeScript Definitions

Use the request body type in TypeScript.

Response Body

application/json

curl -X POST "https://example.com/work-trays/batch" \  -H "Content-Type: application/json" \  -d '{    "pattern": "string",    "quantity": 1  }'
{  "created": 0,  "total": 0,  "errors": [    {      "code": "string",      "error": "string"    }  ]}
Empty
Empty