CXone v2 Reporting API returning 404 for real-time queue stats in Docker dev env

No idea why this is happening, my local Docker integration test harness is hitting a 404 when querying the CXone Reporting API for real-time queue statistics.

I have set up a mock Genesys Cloud API server using Go to validate my Terraform CX as Code configurations before pushing to the production tenant. The OAuth token generation works perfectly, and I can query historical data without issues. However, when I attempt to fetch live queue metrics, the endpoint seems to reject my request.

Here is the Python requests snippet I am using in my test suite:

import requests

headers = {
 'Authorization': f'Bearer {access_token}',
 'Accept': 'application/json',
 'Content-Type': 'application/json'
}

queue_id = "12345678-abcd-1234-efgh-1234567890ab"
endpoint = f"https://api.us.genesyscloud.com/api/v2/analytics/queues/{queue_id}/realtime"

response = requests.get(endpoint, headers=headers)
print(response.status_code)
print(response.json())

The response is a 404 Not Found. I have verified the queue_id exists in my mock database. Is there a specific header or query parameter required for the /realtime endpoint that differs from the historical endpoints? I suspect the mock server might need to simulate a WebSocket handshake or a specific session context, but I cannot find documentation confirming this for REST calls. Any insights would be appreciated.