List Threads
Lists threads in the inbox, most recent first. Pass senders, recipients, or subject to filter by substring. Filtered requests are served by search, which caps limit at 100. For relevance-ranked full-text search, use Search Threads.
CLI:
agentmail inboxes:threads list --inbox-id <inbox_id>
Path parameters
The ID of the inbox.
Query parameters
Limit of number of items returned.
Page token for pagination.
Labels to filter by.
Timestamp before which to filter by.
Timestamp after which to filter by.
Sort in ascending temporal order.
Include spam in results.
Include blocked in results.
Include unauthenticated in results.
Include trash in results.
Filter to threads whose senders contain this value (substring match). Repeatable; all values must match.
Filter to threads whose recipients contain this value (substring match). Repeatable; all values must match.
Filter to threads whose subject contains this value (substring match). Repeatable; all values must match.