Genesys Cloud EventBridge filter for specific queue conversation.end events

We’re setting up an EventBridge subscription to track adherence metrics for our Central time zone queue. The goal is to only receive conversation.end events for agents in the ‘Central-Support’ queue to keep our data pipeline lean.

I’ve created the subscription using the Python SDK and attached a filter policy. Here is the policy I’m using:

{
 "detail-type": [
 "GENESYS.CLOUD.EVENTS.CONVERSATION"
 ],
 "detail": {
 "eventType": [
 "conversation.end"
 ]
 }
}

The issue is that we’re still getting events for every other queue in the org. The docs mention filtering by detail.queues.id, but I’m not sure how to structure that in the JSON policy or if it’s even supported for EventBridge subscriptions directly.

Does anyone have a working example of filtering by queue ID in the subscription filter? We’re currently pulling everything and filtering in our Lambda, but it’s costing us a lot of invocations. Just need the correct JSON structure for the filter.