Query board by name

How can I query board by its name? I need to see if a board with this name doesn’t exist to create with duplicate_boards. I’ve tried

query {

  boards (name: "my board name") {

      ids

    name

    state

    board_folder_id

    owner {

      id

    }

  }

}

but I’m getting

"errors": [
        {
            "message": "Field 'boards' doesn't accept argument 'name'",
            "locations": [
                {
                    "line": 3,
                    "column": 11
                }
            ],
            "fields": [
                "query",
                "boards",
                "name"
            ]
        },
        {
            "message": "Field 'ids' doesn't exist on type 'Board'",
            "locations": [
                {
                    "line": 5,
                    "column": 7
                }
            ],
            "fields": [
                "query",
                "boards",
                "ids"
            ]
        }
    ],
 

Please advice