Web Service API / GraphQL : How to get a list of filtered groups

Hello,

I’m trying to get the full list of groups with name like “GRP_*”.

I can see that there is no webservice for that.
WS getGroup is for only one known group.

I tried graphQL but there is no filter available so I have the full 12 000 group list instead of around 40 like GRP_*

{
groups (page: {number:1 size:1000}){
hasNextPage
items{
name
}
}
}

What can I do ? Am I missing something in my GraphQL query ?

Thanks