# `GET /agentprinter` Protected. Requires a valid session cookie (`credentials: 'include'`). List agent printers Lists agent printers for the authenticated user's selected company, optionally filtered by printer agent ID. ## Query parameters | Param | Required | Type | Description | |-------|----------|------|-------------| | `printeragentId` | no | integer | Optional printer agent ID filter | ## Response `200` List of agent printers ```json { "agentprinters": [ { "id": 1, "printeragentId": 1, "type": "…", "model": "…", "serial": "…", "enabled": true, "sort": 1, "open": true, "pause": true, "error": true, "online": true, "labelLength": 1 } ] } ``` ## Errors | Status | Description | |--------|-------------| | 400 | No company selected — `{"error":"…"}` | | 401 | Unauthorized — `{"error":"…"}` | --- _Generated from `@openapi` JSDoc. Do not edit by hand — run `npm run docs:api`._