# AgentMail List Pod Threads

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

Lists all email threads belonging to a specific AgentMail pod (inbox container) for AI agents

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/pods/%7Bpod_id%7D/threads
- 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-list-pod-threads-31b5b238
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_2zpnZlyfhu2kuksF4WF1e

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-list-pod-threads-31b5b238
```

Example prompt: Show me all the email threads in AgentMail pod 'pod_abc123' so I can see what conversations my agent has been having.

## When to prefer this

Use this endpoint when you need to enumerate all email conversation threads within a specific AgentMail pod. Prefer this over the workspace-level threads endpoint when you want thread data scoped to a single pod/inbox rather than the entire workspace. Ideal for agentic workflows that monitor or process email conversations within a dedicated agent inbox.

## Known failure modes

- pod_id not found — 404 Not Found
- missing pod_id path parameter — 400 Bad Request
- unauthorized access to pod — 401 Unauthorized
- pod has no threads — empty array returned
- rate limit exceeded — 429 Too Many Requests

## 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

A JSON list of email threads associated with the specified pod, including thread identifiers, participants, subject lines, and message metadata for each conversation thread.

## 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"
     ],
     "properties": {
      "pod_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-list-pod-threads-31b5b238/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)
