Query Inbox Metrics
get_agentmail_inbox_metricsReturns the same aggregate counters as get_agentmail_metrics but for one inbox: a flat map of counter name to an array of data points, keyed by message.received, message.received.spam, message.received.blocked, message.received.unauthenticated, message.sent, message.delivered, message.bounced, message.complained, message.rejected, message.opened and domain.verified. An empty array means no activity, not an error. The shape is not pinned in this spec, so read the keys actually returned. For individual events rather than counts use get_agentmail_inbox_events; for the account-wide totals, get_agentmail_metrics.
Input Schema
| Name | Required | Description | Default |
|---|---|---|---|
| end | No | End timestamp for the query. | |
| limit | No | Limit on number of buckets to return. | |
| start | No | Start timestamp for the query. | |
| period | No | Period in number of seconds for the query. | |
| inbox_id | Yes | The ID of the inbox. | |
| descending | No | Sort in descending order. | |
| event_types | No | List of metric event types to query. | |
| Authorization | Yes | Bearer authentication |
Output Schema
| Name | Required | Description | Default |
|---|---|---|---|
No arguments | |||