Hi @michael1
a filter which has the resourceType
Taskmust contain a query which is a valid task query
so query corresponds to the JSON body of POST /task REST endpoint
https://docs.camunda.org/manual/7.18/reference/rest/task/post-query/#request-body