List Threads
Changed onLists threads in the pod, 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 pods threads list --pod-id <pod_id>
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/pods/{pod_id}/threads
- AuthHTTP bearer
Path parameters
ID of pod.
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.
Response
Response with status 200
Changes
- info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
pods > threadsadded - info
api tag
PodsThreadsremoved
- info
- info
added the new optional
queryrequest parameterrecipients - info
added the new optional
queryrequest parametersenders - info
added the new optional
queryrequest parametersubject - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status - info
added the optional property
to the response with the status
- info