Query Usage
Changed onCumulative usage series for the pod. Each point is the running total of the usage type at that timestamp, not the change within the bucket. Pod-scoped queries carry every usage type except pod_count; requested types that don't apply to the scope are ignored. Defaults to the last 24 hours; start must be within the last 90 days, and a future end is clamped to now. The range divided by period must not exceed 1000 buckets.
Request
- Base URLhttps://api.agentmail.to
- URLhttps://api.agentmail.to/v0/pods/{pod_id}/metrics/usage
- AuthHTTP bearer
Path parameters
ID of pod.
Query parameters
List of usage metric types to query. Omit to query every type valid for the scope.
Start timestamp for the query.
End timestamp for the query.
Size of each time bucket as a whole number of seconds, between 1 and 86400.
Limit on number of buckets to return.
Sort in descending order.
Response
Response with status 200
Cumulative usage series grouped by usage type.
Changes
- info
the endpoint scheme security
Bearerwas added to the API - info
the endpoint scheme security
BearerAuthwas removed from the API - info
api tag
pods > metricsadded - info
api tag
PodsMetricsremoved
- info
- info
endpoint added
- info