query_table
Retrieve paginated Tdarr UI table data with server-side filtering, sorting, and paging. Use this low-level endpoint for transcode/health-check queues and results that plain file search cannot express.
Instructions
Query one of the paginated tables behind the Tdarr UI (POST /api/v2/client/{client_type}) with server-side filtering, sorting and paging. This is the low-level escape hatch for views search_files cannot express; the valid client_type and opts.table values are the ones the Tdarr UI uses for that page. Prefer search_files for plain file lookups.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| opts | No | Endpoint-specific options, e.g. { table: 'table1', dbID: '<libraryId>' }. Tdarr's file tables are table1 transcode queue, table2 transcode success, table3 transcode error, table4 health check queue, table5 health check success, table6 health check error. | |
| sorts | No | Sort order, e.g. [{ id: 'file_size', desc: true }] | |
| start | No | Row offset (default 0) | |
| filters | No | Column filters, e.g. [{ id: 'file', value: 'Movie' }] | |
| page_size | No | Rows per page (default 25) | |
| client_type | Yes | The client endpoint segment, i.e. the UI table being queried |