How to use logical AND in filters in GraphQL API

In GraphQL v4 API, I want to look for all the issues that are labeled with ‘enhancement’ AND ‘Idea’

I tried this line:

issues(last: 100, orderBy: {filterBy: {labels: ["enhancement", "Idea"]}) {

but it returns issues that are labeled ‘enhancement’ OR ‘Idea’.

Would love to know how to do this. Thank you so much!

Can you try this?

filterBy: {
  AND: [
    {labels: ["enhancement"]},
    {labels: ["Idea"]}

Nope. It says AND is not defined by type IssueFilters