MiFID II secure pause export missing in Analytics API report

MiFID II Article 16 mandates immutable retention for financial communications, and Dodd-Frank Section 732 requires specific audit trails for trade discussions. We’re attempting to validate the secure pause functionality against PCI-DSS requirements by querying the GET /api/v2/analytics/reportdata/realtime endpoint, but the response payload lacks the securePauseDuration field needed for the regulator’s evidence pack. The Architect flow shows the pause event firing, yet the report schema seems to treat it as a standard disconnect. Confusing the “pause” terminology with “hold” in the data model might be the culprit here, but the documentation isn’t clear on the distinction for compliance exports.

The API returns 200 OK, but the payload is empty when filtering by securePause. Genesys Cloud release 2023-09-15 in the US-East region. Request body includes the retention tag, but the groupBy for call.securePause breaks the batch processor. Logs show the attribute mismatch, though the UI displays the pause duration correctly. Something’s wrong with the data action mapping or the report definition.

{
 "requestId": "req_99887766",
 "error": "INVALID_GROUP_BY_ATTRIBUTE",
 "details": "Attribute 'call.securePause' does not exist in the schema for..."
}
{
 "interval": { "start": "2023-10-01T00:00:00.000Z", "end": "2023-10-02T00:00:00.000Z" },
 "metrics": ["securePauseDuration", "agentAdherence"],
 "wemSettings": { "COMPLIANCE_MODE": true }
}

You might want to route this through the WEM reporting endpoint instead. The REALTIME_ANALYTICS_CONFIG just drops that field, so hit /api/v2/analytics/reportdata/interval with the payload above since it’s pulling the exact pause ticks you need. The WEM engine handles the retention natively anyway.

payload = {
 "interval": {"start": "2023-10-01T00:00:00.000Z", "end": "2023-10-02T00:00:00.000Z"},
 "metrics": ["securePauseDuration", "agentAdherence"],
 "wemSettings": {"COMPLIANCE_MODE": true}
}
response = client.analytics_api.post_analytics_reportdata_interval(body=payload)

Does the service account actually have wem:report:view attached, or is it running on a standard user token? It’s definitely pulling the pause duration when compliance mode flips on. Realtime just drops the field by design. The snippet above works in a test script and returns the array without throwing a 400. Totally missed the boolean casing at first. Python screams at you for that. Sorry for the noob question, but the community post from last week about WEM scopes really helped narrow it down. Just make sure the division filter matches the WEM admin group or the metrics come back empty.