# #boards Querying `boards` will return the metadata for one or a collection of boards. ### Basic usage {% code lineNumbers="true" %} ```ruby client = Monday::Client.new(token: ) response = client.boards puts response.body ``` {% endcode %} This will return the boards' ID, name and description fields by default. The response body from the above query would be as follows: {% code lineNumbers="true" %} ```json { "data": { "boards": [ { "id": "4691485686", "name": "Your first board", "description": "Add your board's description here" } ] }, "account_id": 123 } ``` {% endcode %} ### Filtering board This method accepts various arguments to filter down the boards. You can find the complete list of arguments [here](https://developer.monday.com/api-reference/docs/boards#arguments). You can pass these filters using the `args` option. {% code lineNumbers="true" %} ```ruby client = Monday::Client.new(token: ) args = { board_kind: "private", } response = client.boards(args: args) puts response.body ``` {% endcode %} This will filter and return the boards that are private on the account. ### Customizing fields to retrieve You can customize the fields to retrieve by passing in the `select` option and listing all the fields you need to retrieve as an array. {% code lineNumbers="true" %} ```ruby client = Monday::Client.new(token: ) select = %w[id name description items_count permissions] response = client.boards(select: select) puts response.body ``` {% endcode %} ### Retrieving nested fields Some fields have nested attributes, and you need to specify the attributes to retrieve that field; else, the API will respond with an error. For example, the field `creator` is of type `User` and expects you to pass the attributes from `User` that you want to retrieve for `creator`. {% code lineNumbers="true" %} ```ruby client = Monday::Client.new(token: ) select = [ "id", "name", { creator: %w[id name email is_admin] } ] response = client.boards(select: select) puts response.body ``` {% endcode %} You can find the list of all the available fields for boards [here](https://developer.monday.com/api-reference/docs/board-view-queries#fields).