Threads

List Threads

CLI:

agentmail threads list
get/v0/threads

Request

  • Base URL
    https://api.agentmail.to
  • URL
    https://api.agentmail.to/v0/threads
  • Auth
    HTTP bearer

Query parameters

limitinteger

Limit of number of items returned.

page_tokenstring

Page token for pagination.

labelsstring[]

Labels to filter by.

beforestring date-time

Timestamp before which to filter by.

afterstring date-time

Timestamp after which to filter by.

ascendingboolean

Sort in ascending temporal order.

include_spamboolean

Include spam in results.

include_blockedboolean

Include blocked in results.

include_trashboolean

Include trash in results.

Response

countinteger required

Number of items returned.

limitinteger

Limit of number of items returned.

next_page_tokenstring

Page token for pagination.

Changes

No recorded changes to this operation across all 1 revision of this API.