PodsMetrics

Query Metrics

CLI:

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

Request

  • Base URL
    https://api.agentmail.to
  • URL
    https://api.agentmail.to/v0/pods/{pod_id}/metrics
  • Auth
    HTTP bearer

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.

Changes

No recorded changes to this operation across all 1 revision of this API.