Service Level calculation logic for /api/v2/analytics/details calls

Pulling raw interval data via GET /api/v2/analytics/details. The response gives offerCount and answeredCount, but I’m unsure how to derive the SLA percentage.

Is it (answeredCount / offerCount) * 100? Or do I need to filter for waitTime < threshold first? The docs are vague on the exact formula for the raw JSON payload. My current Go loop just sums everything, but the numbers don’t match the dashboard.

Here’s the snippet: