list_threads
Retrieve support threads from Plain with optional filters by status, priority, customer, or labels. Get thread summaries including id, title, and timestamps.
Instructions
List support threads from Plain with optional filters. Returns thread summaries including id, title, status, priority, customer info, labels, and timestamps.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| after | No | Cursor for pagination | |
| first | No | Number of threads to return (default 50, max 100) | |
| priority | No | Filter by priority (0 = urgent, 3 = low) | |
| statuses | No | Filter by thread statuses (e.g., 'TODO', 'DONE', 'SNOOZED') | |
| tenantId | No | Filter by tenant ID (via thread field) | |
| customerId | No | Filter by customer ID | |
| labelTypeIds | No | Filter by label type IDs |