# AgentMail Get Thread

> AgentMail Get Thread is a free API for AI agents from x402.api.agentmail.to, callable via x402, Free, status unknown (last checked 2026-09-14).

Retrieve a specific email thread by ID from an AgentMail pod

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/pods/%7Bpod_id%7D/threads/%7Bthread_id%7D
- Price: Free
- Payment: x402
- Status: unknown
- Last checked: 2026-09-14
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-get-thread-de11a6a2
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_sEdNbQY5-sTwl_0TjaeM9

Status and success rate cover calls made through Zero and Zero's own probes. Third-party monitors may report differently.

## How to call it through Zero

Zero handles the 402 payment challenge and records the run. With the Zero CLI installed (`npm i -g @zeroxyz/cli`):

```sh
zero fetch --capability agentmail-get-thread-de11a6a2
```

Example prompt: Pull up the full email thread with thread ID 'thd_abc123' from my AgentMail pod 'pod_xyz456' so I can see all the messages in that conversation.

## When to prefer this

Use this endpoint when you need to read or inspect a specific known email thread within an AgentMail pod — for example, to check replies, monitor a conversation, or extract message content from an ongoing agentic email workflow. Prefer this over listing all threads when you already have the thread_id.

## Known failure modes

- Invalid pod_id returns 404 not found
- Invalid thread_id returns 404 not found
- Thread does not belong to the specified pod returns 403 or 404
- Missing required path parameters returns 400 bad request
- Unauthorized access returns 401
- Pod or thread has been deleted returns 404

## How this service works

AgentMail gives AI agents real email inboxes. Create, send, receive, and search messages via REST API — built for autonomous agents and agentic workflows.

## Output

Returns a JSON object representing the email thread, including metadata such as thread ID, subject, participants, timestamps, and the list of messages within the thread belonging to the specified pod.

## Request schema (JSON Schema)

```json
{
 "type": "object",
 "$schema": "https://json-schema.org/draft/2020-12/schema",
 "required": [
  "input"
 ],
 "properties": {
  "input": {
   "type": "object",
   "required": [
    "type",
    "method",
    "pathParams"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "http"
    },
    "method": {
     "enum": [
      "GET",
      "HEAD",
      "DELETE"
     ],
     "type": "string"
    },
    "pathParams": {
     "type": "object",
     "required": [
      "pod_id",
      "thread_id"
     ],
     "properties": {
      "pod_id": {
       "type": "string"
      },
      "thread_id": {
       "type": "string"
      }
     },
     "additionalProperties": false
    },
    "queryParams": {
     "type": "object",
     "properties": {},
     "additionalProperties": false
    }
   },
   "additionalProperties": false
  },
  "output": {
   "type": "object",
   "required": [
    "type"
   ],
   "properties": {
    "type": {
     "type": "string",
     "const": "json"
    },
    "example": {
     "type": "object",
     "additionalProperties": true
    }
   },
   "additionalProperties": false
  }
 },
 "additionalProperties": false
}
```

## Response schema (JSON Schema)

```json
{
 "type": "json",
 "example": {}
}
```

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-get-thread-de11a6a2/health.json
- [Zero catalog index](https://www.zero.xyz/llms.txt)
- [Other services from x402.api.agentmail.to](https://www.zero.xyz/host/x402.api.agentmail.to/llms.txt)
