Get API latency metrics

Retrieve latency metrics for APIs including average, median, P95, and P99 latencies over a given time range.