API Reference
Get mock server analytics
Aggregates request counts, error rate, average dispatch latency (from RESPONSE_LATENCY_MS metrics when present), and per-day buckets for the admin UI — aligned with the cloud platform analytics API shape.
Path Parameters
mockServerId*string
Format
uuidQuery Parameters
from?string
Format
dateto?string
Format
dateResponse Body
application/json
curl -X GET "http://localhost:8080/mock-server/servers/497f6eca-6276-4993-bfeb-53cbbbba6f08/analytics"{
"totalRequests": 0,
"uniqueUsers": 0,
"averageResponseTime": 0,
"errorRate": 0,
"uniqueOperations": 0,
"requestsByDay": [
{
"date": "2019-08-24",
"count": 0,
"averageLatencyMs": 0
}
]
}Empty