# AgentMail Inbox Metrics

> AgentMail Inbox Metrics is a free API for AI agents from x402.api.agentmail.to, Free, status unknown (last checked 2026-09-10).

Retrieves usage and performance metrics for a specific AgentMail email inbox

## Facts

- Endpoint: GET https://x402.api.agentmail.to/v0/inboxes/%7Binbox_id%7D/metrics
- Price: Free
- Status: unknown
- Last checked: 2026-09-10
- Activations on Zero: 0
- Tags: x402
- Canonical page: https://www.zero.xyz/c/agentmail-inbox-metrics-d96e3efa
- Structured record (JSON): https://api.zero.xyz/v1/capabilities/cap_Ev1AkwCizAwR5cVKt1qr6

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-inbox-metrics-d96e3efa
```

Example prompt: Pull the metrics for my AgentMail inbox with ID inbox_abc123 — I want to see how much activity it's had.

## When to prefer this

Use this endpoint when you need to programmatically check usage statistics, volume, or activity data for a specific AgentMail inbox — especially useful for monitoring agent email activity over time or auditing inbox usage.

## Known failure modes

- Invalid or non-existent inbox_id returns 404 not found
- Unauthorized access returns 401 if credentials are missing or invalid
- Empty metrics object returned if inbox has no recorded activity
- Rate limiting may return 429 if too many requests are made

## How this service works

Service: AgentMail API (/v0/inboxes/{inbox_id}/metrics)

## Output

Returns a JSON object containing usage and performance metrics for the specified inbox, such as message counts, send/receive statistics, and other activity data.

## Response schema (JSON Schema)

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

## More

- Live health (JSON, refreshed every minute): https://www.zero.xyz/c/agentmail-inbox-metrics-d96e3efa/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)
