v1

latestOpenAPI 3.0.1raw.githubusercontent.com2026-04-2099201202.6 KB
PodsMetrics

Query Metrics

CLI:

agentmail pods:metrics query --pod-id <pod_id>
get/v0/pods/{pod_id}/metrics

Path parameters

pod_idstring required

ID of pod.

Query parameters

event_typesMetricEventType[]

List of metric event types to query.

startstring date-time

Start timestamp for the query.

endstring date-time

End timestamp for the query.

periodstring

Period in number of seconds for the query.

limitinteger

Limit on number of buckets to return.

descendingboolean

Sort in descending order.

Response

QueryMetricsResponse required

Metrics grouped by event type.