Add args and scope to ep_retrieve_aggregations