There should be an ability to add the query string paramters in graphql. Similar to the below mentioned screen shot.
https://prnt.sc/u7trbc
query JourneyCampaignStatsByDate($ids: String, $from: String, $to: String) { journeys(ids: $ids, from: $from, to: $to) { campaigns(page: 1) { id sent delivered open unique_open click unique_clicks complaints unique_complaints bounce unsubs } }}
With the following variables:
{ "ids": "34189", "from": "2020-08-25", "to": "2020-08-26" }