List print batches
Retrieves print batches for the current lab. Filter by printerId, roomId, or status. Joins order items.
Retrieves print batches for the current lab. Filter by printerId, roomId, or status. Joins order items.
Production session cookie set for the guidelab.co domain by Better Auth
In: cookie
Query Parameters
Value in
- "queued"
- "printing"
- "completed"
- "failed"
Return only batches that are queued or printing, newest first.
falseOpaque cursor returned by the previous page. Pages are ordered by creation time and ID, newest first.
1 <= length <= 512Maximum batches to return
0 < value <= 100100Response Body
application/json
curl -X GET "https://example.com/production/print-batches"{ "batches": [ { "id": "string", "labId": "string", "printerId": "string", "roomId": "string", "name": "string", "status": "queued", "startedAt": "string", "completedAt": "string", "createdByMemberId": "string", "completedByMemberId": "string", "notes": "string", "failureReason": "string", "durationSeconds": 0, "createdAt": "string", "updatedAt": "string", "orderItems": [ { "id": "string", "orderId": "string", "orderNumber": "string", "productName": "string", "material": "string" } ], "orderItemsTruncated": true } ], "pagination": { "limit": 0, "hasMore": true, "nextCursor": "string" }}Cronologia: list activity rows for an order GET
Returns activity rows ordered by createdAt DESC, with the actor resolved for display. Powers the order History rail and acts as the source of truth for the per-phase-visit done-ness calculation. Clinic callers receive only clinic-safe event types, never activity notes, and never lab-only fields inside an order_updated change list.
List completed and failed print batches GET
Paginated history of batches with status completed or failed. Joins printer, room, and member display names. Ordered by completedAt DESC.