Skip to content
AgentMail
AgentMail

Query Events

GET/v0/pods/{pod_id}/metrics/events

Counts of email events (sent, delivered, bounced, etc.) over time for the pod. Defaults to the last 24 hours; start must be within the last 90 days, and a future end is clamped to now. Omit period for individual event counts, or set it to sum counts into buckets of that many seconds. **CLI:** ``bash agentmail pods metrics query-events --pod-id <pod_id>