Filter event lables on group export to ics

Is there some way to filter for specific labels when using the API to export an ics file? So far I’m exporting groups using

f'https://indico.cern.ch/export/categ/{groupid}.ics?timestamp=...'

where groupid is the number for the group, and I’ve added some timestamp / signature information to authenticate. It would be great if there were some option like ignorecancelled=true or ignorelabel=cancelled or something.