---
title: "Get sending and receiving metrics"
method: GET
path: "/v1/metrics"
tags: ["Metrics"]
---

# Get sending and receiving metrics

`GET /v1/metrics`

## Request

- Base URL: `https://api.agentboxd.com`
- URL: `https://api.agentboxd.com/v1/metrics`
- Auth: HTTP bearer

`?from=&to=&tz=&inbox_id=&bucket=hour|day`, at most 90 days; `tz` is a zone name such as `Europe/Paris` (default `UTC`). Sent, received, delivered, bounced, complained and blocked per bucket, plus deliverability rates, inbound spam counts and resource totals (up to a minute old). `queue` lists every inbox that uses the [claim/ack queue](https://agentboxd.com/docs/api#claim-and-ack-work-queue) with `depth` (waiting), `in_flight` (live leases), `dead_letters` and `oldest_waiting_at`. Needs `metrics:read`. At most 30 calls a minute per workspace, across all its keys: `429 rate_limited` with `Retry-After`.

Permission: `metrics:read`.

## Query parameters

- `from` string
- `to` string
- `tz` string
- `inbox_id` string, uuid
- `bucket` 'hour' | 'day'

## Response `200`

OK

- object

## Other responses

- `4XX`: Error
- `5XX`: Error

---

[API](https://skmtc.dev/agentboxd/apis/agentboxd-api.md) · [All operations](https://skmtc.dev/agentboxd/apis/agentboxd-api/llms.txt) · [OpenAPI document](https://skmtc.dev/agentboxd/apis/agentboxd-api/revisions/ee7b079f0e97?raw)
