list_queue
List print queue items with optional filters. Supports filtering by assigned printer(s), group, approval status, tags, queue-item custom-field values, and age. Example: older_than_days=7 for "items added more than 7 days ago", or custom_fields=[{id: "", value: "Engineering"}] for a specific department field.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| page | No | ||
| tags | No | Match items that have any of the given tag names | |
| group | No | Only return items in this queue group (0 = the ungrouped bucket) | |
| search | No | Filename substring search | |
| compact | No | Keep at default true. Returns minimal data tuned for AI context. Only set to false if you specifically need fields the compact view drops, and then pair with limit to keep the response small. | |
| sort_by | No | Sort by this field. Default: sort_position (ascending — matches the queue's display order). | |
| sort_dir | No | Sort direction; default asc. | |
| page_size | No | Items per page (1-200). Use this as the result-size cap. | |
| printer_id | No | Only return queue items assigned to (via for_printers) any of these printer ids | |
| added_after | No | Items created strictly after this ISO-8601 date | |
| added_before | No | Items created strictly before this ISO-8601 date | |
| custom_fields | No | Filter by custom field values. Each entry must specify the field id (uuid) and either value (exact match against string/number/boolean/date/options) or contains (case-insensitive substring on text fields). Multiple entries are AND-joined. | |
| approval_status | No | Filter by approval status. Default excludes denied. | |
| newer_than_days | No | Items created within the last this many days | |
| older_than_days | No | Items created more than this many days ago |