computation
Query measures analytics
Return aggregated values for specified metrics within a time range.
post/environments/{envId}/analytics/measures
Path parameters
envIdstring required
The unique ID of your environment
Request body
Example request
{
"timeRange": {
"from": "2025-01-01T00:00:00Z",
"to": "2025-01-31T23:59:59Z"
},
"filters": [
{
"name": "API",
"operator": "EQ",
"value": "7b6ebef3-6236-4ac5-815e-d3dcef83df5d"
}
],
"metrics": [
{
"name": "HTTP_GATEWAY_RESPONSE_TIME",
"measures": [
"P90",
"P95",
"P99"
]
}
]
}Response
A measures response provides aggregated values for the metrics defined in the request.
Example response
{
"metrics": [
{
"name": "HTTP_REQUESTS",
"unit": "NUMBER",
"measures": [
{
"name": "COUNT",
"value": 2984
}
]
}
]
}