https://www.elastic.co/docs/api/doc/kibana/operation/operation-get-fleet-package-policies
explains to use the Kuery but doesn't explain what it is, how it is used, what it needs to look like. Maybe there is some documentation somewhere, at the very least it should get back linked.