v1

latestOpenAPI 3.0.1raw.githubusercontent.com2026-04-2099201202.6 KB
PodsThreads

Get Thread

CLI:

agentmail pods:threads get --pod-id <pod_id> --thread-id <thread_id>
get/v0/pods/{pod_id}/threads/{thread_id}

Path parameters

pod_idstring required

ID of pod.

thread_idstring required

ID of thread.

Response

inbox_idstring required

The ID of the inbox.

thread_idstring required

ID of thread.

labelsstring[] required

Labels of thread.

timestampstring date-time required

Timestamp of last sent or received message.

received_timestampstring date-time

Timestamp of last received message.

sent_timestampstring date-time

Timestamp of last sent message.

sendersstring[] required

Senders in thread. In format username@domain.com or Display Name <username@domain.com>.

recipientsstring[] required

Recipients in thread. In format username@domain.com or Display Name <username@domain.com>.

subjectstring

Subject of thread.

previewstring

Text preview of last message in thread.

last_message_idstring required

ID of last message in thread.

message_countinteger required

Number of messages in thread.

sizeinteger required

Size of thread in bytes.

updated_atstring date-time required

Time at which thread was last updated.

created_atstring date-time required

Time at which thread was created.